Click here to Skip to main content
15,921,959 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: How to show javascript funtion returns value to Label box? Pin
led mike28-May-08 4:19
led mike28-May-08 4:19 
GeneralRe: How to show javascript funtion returns value to Label box? Pin
bijeshputhalath28-May-08 4:34
bijeshputhalath28-May-08 4:34 
GeneralRe: How to show javascript funtion returns value to Label box? Pin
led mike28-May-08 5:59
led mike28-May-08 5:59 
GeneralRe: How to show javascript funtion returns value to Label box? Pin
bijeshputhalath28-May-08 19:36
bijeshputhalath28-May-08 19:36 
GeneralRe: How to show javascript funtion returns value to Label box? Pin
Vasudevan Deepak Kumar28-May-08 18:39
Vasudevan Deepak Kumar28-May-08 18:39 
AnswerRe: How to show javascript funtion returns value to Label box? Pin
Vasudevan Deepak Kumar28-May-08 18:38
Vasudevan Deepak Kumar28-May-08 18:38 
GeneralRe: How to show javascript funtion returns value to Label box? Pin
bijeshputhalath28-May-08 19:33
bijeshputhalath28-May-08 19:33 
QuestionGridView in ASP.NET 2.0 & C# Pin
Jacob Dixon28-May-08 4:02
Jacob Dixon28-May-08 4:02 
I am having trouble with my grid view. I have a couple of drop down list that are binded to their own SQLDataSource using the same connection string as what the gridview uses. One drop down box is binded to list all the radios assigned to a person. So it list all the people under the ASsigned_To Column (Distinct). Ok works good. Now the other one is by the Tag number on the radios. List all the tag numbers that are in the database, works good.

Now when I choose a person lets say Jacob Dixon, the grid view ONLY displays the radios that are assigned to me. That is how it is suppose to work. Now when I click the UPDATE button after doing this select statement (which is done by the gridview datasource: GridViewDataSource.SelectCommand = "SELECT * FROM Radio_Table WHERE Assigned_To = DropDownList1.SelectedValue.ToString()";


but after you click the update it refreshes the gridview I guess its doing a DataBind when you click update (I dont know hwere, I didn't put it in there), then it refreshes it and puts all the information back in there and uses the first item in the list to do the update. Which isnt the row I clicked update on.

Now if I have the gridview display all the information and go to page 3 or whatever page and click update it works correctly. Both display the textboxes so you can update, but only one selects the correct row you clicked update on.


Also how do I set it where Tag_Number column cannot have duplicate numbers? Like Row 1 tag_number cannot have 5050, and row 50 tag_number cannot have 5050 also. They have to be different. This information is entered in by the user but if there are duplicate tag_numbers then the user messed up somewhere on entering data because in our agency you cannot have duplicate tag numbers with our products.
QuestionMicrosoft JScript runtime error: Object doesn't support this property or method Pin
eyeseetee28-May-08 3:00
eyeseetee28-May-08 3:00 
AnswerRe: Microsoft JScript runtime error: Object doesn't support this property or method Pin
Imran Khan Pathan28-May-08 3:06
Imran Khan Pathan28-May-08 3:06 
GeneralRe: Microsoft JScript runtime error: Object doesn't support this property or method Pin
eyeseetee28-May-08 3:21
eyeseetee28-May-08 3:21 
GeneralRe: Microsoft JScript runtime error: Object doesn't support this property or method Pin
eyeseetee28-May-08 4:36
eyeseetee28-May-08 4:36 
Questiongridview problem Pin
Miss Maheshwari28-May-08 2:44
Miss Maheshwari28-May-08 2:44 
AnswerRe: gridview problem Pin
eyeseetee28-May-08 2:54
eyeseetee28-May-08 2:54 
QuestionAltering File Names On Download Pin
Sam Heller28-May-08 2:01
Sam Heller28-May-08 2:01 
AnswerRe: Altering File Names On Download Pin
Vasudevan Deepak Kumar28-May-08 2:28
Vasudevan Deepak Kumar28-May-08 2:28 
GeneralRe: Altering File Names On Download Pin
Sam Heller28-May-08 2:39
Sam Heller28-May-08 2:39 
GeneralRe: Altering File Names On Download Pin
Vasudevan Deepak Kumar28-May-08 2:40
Vasudevan Deepak Kumar28-May-08 2:40 
GeneralRe: Altering File Names On Download Pin
Sam Heller28-May-08 4:42
Sam Heller28-May-08 4:42 
GeneralRe: Altering File Names On Download Pin
Sam Heller28-May-08 5:16
Sam Heller28-May-08 5:16 
GeneralRe: Altering File Names On Download Pin
Vasudevan Deepak Kumar28-May-08 18:29
Vasudevan Deepak Kumar28-May-08 18:29 
GeneralRe: Altering File Names On Download Pin
Sam Heller29-May-08 1:18
Sam Heller29-May-08 1:18 
GeneralRe: Altering File Names On Download Pin
Vasudevan Deepak Kumar28-May-08 18:40
Vasudevan Deepak Kumar28-May-08 18:40 
GeneralRe: Altering File Names On Download Pin
Sam Heller29-May-08 1:14
Sam Heller29-May-08 1:14 
QuestionHow to list SQL servers and their databases on all computers in domain Pin
S.Aijaz28-May-08 1:53
S.Aijaz28-May-08 1:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.