March 23rd, 2009 11:00 PM
Refer to my post at
http://www.codeguru.com/forum/showthread.php?t=470509
warm regards,
March 20th, 2009 02:27 AM
Yes. That is also simple enough. We need to use javascript again. I have changed WebSite80 so that it does what you want and attached it. Open it and find an application that allows only one check...
March 17th, 2009 09:56 PM
That article seems to be quiet clear and works for me. Could you be more specific with your need? If you could post some of your code we can see specifically where you may be going wrong and help...
March 16th, 2009 11:18 PM
Put it inside a panel and set the width and height properties of the panel and scroll bars to both. Here is some sample code
<asp:Panel ID="mypdanel" runat="server" ScrollBars="Both"...
March 16th, 2009 10:54 PM
Maybe something else is happening in your code which might not be evident at the moment. I give below the code for the Default pages of a small Default application. You can open a sample web site in...
March 16th, 2009 10:31 PM
Hi Tarun,
That again is extremely simple. I have attached a sample application again. You can easily download it. The attached application is WebSite80.zip and if you unzip it you will fine a...
March 16th, 2009 02:09 AM
Hi,
The other day I came across a very interesting question in one of the other forums where a person had inquired about converting all his user controls to dll's. I was wondering if it is...
March 14th, 2009 01:43 PM
Hey Tarun,
That makes life even simpler. I give below a sample program again. Once again open up a new default web site in VS 2005. It will have a web page in it called Default.aspx. I give below...
March 12th, 2009 11:05 PM
Hi Tarunk,
I think we are talking at cross purposes. I will state your requirement as I understand it and give you a sample application. If it is not correct let me know what exactly you need so...
March 12th, 2009 05:13 AM
If you are really keen to stick with asp.net server controls you could have an anchor inside your repeater and add the href attribute through code in the item data bound procedure. You will have to...
March 12th, 2009 03:57 AM
You can use javascript for confirmation. Just convert your delete button to a template fieldin the grid. Replace your data grid code with
<asp:DataGrid id="DataGrid1"...
March 11th, 2009 09:55 PM
Try this. You can easily replace a web server control check box with a html input checkbox. Your html code would be.
<asp:Label ID="Label1" runat="server"></asp:Label>
...
March 11th, 2009 12:14 AM
Do you mind doing that through code? Then it is easy enough to set the value of the text property of asp:checkbox inside the repeater. Suppose your html code is something like
...
March 10th, 2009 01:57 AM
I am not clear why you need javascript here. Inside the button click procedure for the save button, you can always check if records exist in the database based on on some input field. First check...
February 27th, 2009 02:27 AM
If you have the exact country name in the variable country then you could try.
DataRow[] countryDataRows = destinationsDataSet.Tables[countryDataSetTableName].Select("country_desc = '" + country...
February 26th, 2009 10:39 PM
Hi,
I am giving the application below.
I have simplified the code as much as I can and put in proper comment entries. The code is also slightly changed so that the principle by which it works...
February 25th, 2009 11:33 PM
Here is how you do it. I am giving a sample application code which creates a data table and binds it to a gridview. The data table contains 3 columns and 5 rows with the first column having the...
February 25th, 2009 10:55 PM
Hi,
You could try this sample. I am giving code for the default page for a sample application. Just put this code on the Default.aspx and Default.aspx.cs of a new web site in VS 2005. If you run...
February 25th, 2009 09:43 PM
Hi,
Yes you can disable a cell. But the disabling makes a difference only if you have some server control like a text box in the cells of the grid view. I can demonstrate this with a couple of...
February 25th, 2009 03:04 AM
Hi,
What you are asking for is possible if child classes inherit from parent classes. The way you have written the classes the child classes are elements of parent classes. They are not inheriting...
February 25th, 2009 12:24 AM
I agree. You will have to create it using document.createElement() in javascript and add it to the form. Only thing I would like to add to this is if you want to find the post back value of the...
February 24th, 2009 11:27 PM
Hi,
I have faced that problem before. In my case I had 2 list boxes and one list box was full of list items the first time the page is loaded in the browser. Then I had a couple of buttons with...
February 24th, 2009 04:20 AM
Hi,
If you want to use external javascript you will have to link it to the form with something like
<script language="JavaScript" src="full or relative path to external javascript file"...