468,243 Members | 1,962 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,243 developers. It's quick & easy.

How to validate the textbox in datagrid using javascript?

16
Hi,

I have a textbox control in Footer Template within datagrid. I need to validate the textbox using client side javascript. When trying it, i got an error that the control not exist. I think the datagrid sets some unique id to the textbox at runtime.

Please help me how to do this ?

Thanks in advance.

Satees
Apr 5 '07 #1
1 1668
channaJ
67
Hi,

I have a textbox control in Footer Template within datagrid. I need to validate the textbox using client side javascript. When trying it, i got an error that the control not exist. I think the datagrid sets some unique id to the textbox at runtime.

Please help me how to do this ?

Thanks in advance.

Satees
Hi Statees,

You can check how the textbox is rendered, I mean the name of the textbox in the client side, by right clicking on the browser window and selecting View Source. You can use that name in your JavaScript. Hope this will help.
Apr 5 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

1 post views Thread by Bryan | last post: by
2 posts views Thread by Martin Hazell | last post: by
2 posts views Thread by Manish | last post: by
1 post views Thread by mats | last post: by
11 posts views Thread by wolf | last post: by
1 post views Thread by VB Programmer | last post: by
2 posts views Thread by rockdale | last post: by
reply views Thread by kermitthefrogpy | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.