Click here to Skip to main content
15,892,804 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: GridView - NullReferenceException Pin
N a v a n e e t h12-Jun-09 2:55
N a v a n e e t h12-Jun-09 2:55 
GeneralRe: GridView - NullReferenceException Pin
ffowler12-Jun-09 3:02
ffowler12-Jun-09 3:02 
AnswerRe: GridView - NullReferenceException Pin
saanj12-Jun-09 3:02
saanj12-Jun-09 3:02 
AnswerRe: GridView - NullReferenceException Pin
Abhijit Jana12-Jun-09 3:06
professionalAbhijit Jana12-Jun-09 3:06 
QuestionTable Controls clear Pin
kanadoss12-Jun-09 2:08
kanadoss12-Jun-09 2:08 
AnswerRe: Table Controls clear Pin
saanj12-Jun-09 2:22
saanj12-Jun-09 2:22 
GeneralRe: Table Controls clear Pin
kanadoss12-Jun-09 2:33
kanadoss12-Jun-09 2:33 
GeneralRe: Table Controls clear Pin
N a v a n e e t h12-Jun-09 2:50
N a v a n e e t h12-Jun-09 2:50 
kanadoss wrote:
document.getelementid("<%= textbox1.ClientID%>").value==""; this is obviously normal way to clear.


No.

kanadoss wrote:
my intension is , i want to use the table id to calear all text of controls inside the table.


Get the tables object

var tableObj = document.getelementid("<%= textbox1.ClientID%>")

Use getElementsByTagName to get all the input controls. Something like

var controls = tableObj.getElementsByTagName("input")

controls variable will have all the input objects under that table. Now iterate over the elements and set it's value. BTW, why do you want to do this using only the table id when you can use the text box id directly. I guess that will be more reliable.

Smile | :)


GeneralRe: Table Controls clear Pin
saanj12-Jun-09 2:53
saanj12-Jun-09 2:53 
QuestionASP.Net Server control Pin
Amit Patel198512-Jun-09 1:55
Amit Patel198512-Jun-09 1:55 
AnswerRe: ASP.Net Server control Pin
saanj12-Jun-09 2:19
saanj12-Jun-09 2:19 
AnswerRe: ASP.Net Server control Pin
Abhijit Jana12-Jun-09 3:20
professionalAbhijit Jana12-Jun-09 3:20 
QuestionGenerating word document and saving to a particular location in c#.net Pin
YazhiniP12-Jun-09 1:04
YazhiniP12-Jun-09 1:04 
AnswerRe: Generating word document and saving to a particular location in c#.net Pin
Christian Graus12-Jun-09 1:15
protectorChristian Graus12-Jun-09 1:15 
AnswerRe: Generating word document and saving to a particular location in c#.net Pin
YazhiniP12-Jun-09 1:47
YazhiniP12-Jun-09 1:47 
Questionerror is \\The parameterized query '(@img_type nvarchar(4000),@img_stream nvarchar(4000))INSERT INTO' expects the parameter '@img_type', which was not supplied. Pin
jigneshp2512-Jun-09 1:03
jigneshp2512-Jun-09 1:03 
AnswerRe: error is \\The parameterized query '(@img_type nvarchar(4000),@img_stream nvarchar(4000))INSERT INTO' expects the parameter '@img_type', which was not supplied. Pin
Christian Graus12-Jun-09 1:16
protectorChristian Graus12-Jun-09 1:16 
AnswerRe: error is \\The parameterized query '(@img_type nvarchar(4000),@img_stream nvarchar(4000))INSERT INTO' expects the parameter '@img_type', which was not supplied. Pin
Abhijit Jana12-Jun-09 1:20
professionalAbhijit Jana12-Jun-09 1:20 
QuestionObject reference not set to an instance of an object. (Use the New keyword to create object instance) Pin
KhandelwalA12-Jun-09 0:56
KhandelwalA12-Jun-09 0:56 
AnswerRe: Object reference not set to an instance of an object. (Use the New keyword to create object instance) Pin
Christian Graus12-Jun-09 1:17
protectorChristian Graus12-Jun-09 1:17 
AnswerRe: Object reference not set to an instance of an object. (Use the New keyword to create object instance) Pin
saanj12-Jun-09 1:25
saanj12-Jun-09 1:25 
AnswerRe: Object reference not set to an instance of an object. (Use the New keyword to create object instance) Pin
Abhijit Jana12-Jun-09 1:40
professionalAbhijit Jana12-Jun-09 1:40 
QuestionHow to Add the BindingManager to the tool box in asp.net if we can Pin
govindi unal11-Jun-09 23:26
govindi unal11-Jun-09 23:26 
QuestionMost Visited Pin
Ramkumar_S11-Jun-09 23:24
Ramkumar_S11-Jun-09 23:24 
AnswerRe: Most Visited Pin
Christian Graus11-Jun-09 23:45
protectorChristian Graus11-Jun-09 23:45 

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.