Quantcast
Channel: Web Forms
Browsing all 23244 articles
Browse latest View live

bind and pass 2 values commandArgument and??

<td><asp:LinkButton ID="LinkButton1" Text='<%#Bind("Company_Name")%>' CommandArgument='<%# Bind ("id") %>' runat="server" OnCommand="RemoveSubContractor"...

View Article


disable button until value selected

Drop Down:<asp:DropDownList ID="DropDownListSubContractors" runat="server" AppendDataBoundItems="true" DataTextField="Company_Name" DataValueField="id"><asp:ListItem Text="---Select---"...

View Article


GridView Header Style issue

For some reason my headers are aligning to the left when I tell it to be centered. Any idea what I'm doing wrong? Below is my code. The itemstyle is centered, but kinda centered left - not exactly...

View Article

AJAX or XMLHttpRequest?

Hi, I wonder what is the best method to get and send data to server.. AJAX or XMLHttpRequest? #newbie here... Thanks, KURAI 

View Article

Object cannot be cast from DBNull to other types

i have column startDate of type DATE in sql 2008.i am trying to pick that from database and binding it to a label in asp.net , it works :) by converting it to string.but problem is that it isn't...

View Article


Closing Telerik Model Popped up Window with JavaScript

<div>Microsoft Visual Studio 2010 MVC 3 with Telerik extension and javascriptI have a page that display information about a student. A student that had graduated for more than 1 years could be...

View Article

Why my codes does not pass compile any more, it was working in another...

Hi, I am using these codes in VS2012 web form apps before, it was working, but today it does not pass compile any more.The codes underlined on "TryGetObjectByKey" and "DeleteObject", the compile error...

View Article

System.IO.DirectoryNotFoundException: Could not find a part of the path

I want to upload all the txt files from a folder. for uploading txt files to datagrid Iam using the following code.path = (txtfilelocation.Text);//Folder path                 System.IO.DirectoryInfo...

View Article


Sorting in grid

I have a database with News. I need to show 4 last news in my start page. Below there is my code. Now only 4 old news are seen. How can I mange 4 LAST news be shown on site. Thank you veru much! @{...

View Article


Need a image viewer with zoom ASP.NET Gridview

I have to display images from gridview thumbnail to their original size. The images are very huge each image has height of 3000px and width of 2000px. So I need a free image control that can display...

View Article

XML parsing: line 1, character 24, illegal name character

Hi..I have one aspx page its run fine in my local pc i deployed that aspx page in sever im getting this errorXML parsing: line 1, character 24, illegal name character will it cuase due to split function??

View Article

collapsible tabel

how can i do collapsible table with textbox ajaxcontrol in asp.net 

View Article

Jquery Validations are not working in Firefox and Chrome. We did the project...

<div> <div id="imcontent" dir="ltr">1) Jquery Validations are not working in Firefox and Chrome, working in IE correctly. We did the project in ASP.NET VS 2008. <div></div>...

View Article


login not redirecting to page

i have this code for login but its not redirecting to admin page and also need some help getting it ready to asp.net<!-- Login Starts Here --><link href="TwitterLogin/front2.css"...

View Article

need to get browser plugin list in asp.net and C#

Hi,   I need to get the list of installed plugin list in browsers like mozile,chrome,ie. Actually  I have need to disable the website if certian macro plugin is installed in browser like imacro and...

View Article


Anchor tag in code behind in .net

<div style="margin-top: 25px;">Hi every body ,  I have a Link Button when i click on that linkbutton it's navigating with another page the url of that is...

View Article

Inserting Data Into SQL tables with Form

We made a simple form in Visual Studio 2010 to submit data into SQL Server 2008R2 database tables however we can't seem to get it to post the data into the tables. Here is the code we are using;Thanks...

View Article


ex.message Conversion from srting " " to integer

conversion from string "tech_TechnologyID ,tech_ from TechnologyID ,tech_"to type 'Integer' is not valid in my sub new() 

View Article

Why did I get this error when I enable SQL Server service broker?

Hi,  in my web form apps, I am using SQL Server Database (Not Compact 4.0 one), I am following this steps to enable SQL Server service broker:http://msdn.microsoft.com/en-us/library/ms166086.aspxBut...

View Article

Open, edit , save pdf file c#

i want to open/edit pdf files in web browser. This file may contain image as well as text.Then i want to edit this pdf file and append some text, shape etc.Can anybody help me out(basic idea), It's...

View Article
Browsing all 23244 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>