Click here to Skip to main content
14,881,545 members

Comments by tihcra (Top 23 by date)

tihcra 3-Jul-11 23:43pm View
   
had found this on google http://naspinski.net/post/inline-aspnet-tags-sorting-them-all-out-(3c25242c-3c253d2c-3c252c-3c252c-etc).aspx
it merely lists tags, i want to know what can we write inside them specially <%# %> tag, what is eval and bind.. and such things
tihcra 1-Jun-11 1:14am View
   
also i am populating by checkboxes at runtime on server side. so how do i add validation control. plus my checkboxes are inside a div tag(with runat attribute set) and not inside form tag
tihcra 1-Jun-11 1:11am View
   
i have read abt validation controls, i think u are talking abt that, but can i validate something so trivial as number of checkoxes ticked with it? can u give some example

(say) all my checkboxes have name attribute set to 'cbData'
tihcra 1-Jun-11 1:08am View
   
i want to count the number of checkboxes ticked. if they are less than a particular number post the form else display an alert
tihcra 1-Jun-11 1:04am View
   
i want to count the number of checkboxes ticked. if they are less than a particular number post the form else display an alert
tihcra 1-Jun-11 1:04am View
   
Deleted
i want to count the number of checkboxes ticked. if they are less than a particular number post the form else display an alert
tihcra 31-May-11 23:13pm View
   
how to remove the view state completely. i do not need viewstate for my page at all
tihcra 31-May-11 23:10pm View
   
ya the easiest way is to use HtmlTable control
tihcra 31-May-11 13:06pm View
   
i am just debugging an application, i dont use a webfarm or cluster
tihcra 31-May-11 13:05pm View
   
when i try to press submit button i get the following error was i navigate to another page
"Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that <machinekey> configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster."
plz suggest for this too .
Thanks in adv
tihcra 31-May-11 2:03am View
   
can i insert a script tag in the aspx page and add js functions to it, which i can add to controls (here checkbox) later by adding attribute onclick to it in the code
tihcra 31-May-11 2:01am View
   
ok i didnt see this cb.Attributes.Add("onclick", "alert(\"added\")");
thanks for this.
tihcra 31-May-11 1:59am View
   
the way u have shown does work on the server side, after i have posted the page to the server.
i want to call the js function on client side
the objective if the js function is to limit the number of checkboxes ticked. also i do not want to use any validation controls
i want to do things manually
tihcra 31-May-11 1:55am View
   
how do i add onclick attribute on server side. i want to do this only but dont know how
tihcra 31-May-11 1:49am View
   
where will i add this jquery statement on my aspx page?
tihcra 31-May-11 1:42am View
   
Deleted
where exactly will i add this jquery statement? in the client side or server side
tihcra 31-May-11 1:25am View
   
u mean i have to generate this tables' html in a string and set it inside div by setting is innerHtml property? is this the only way? is there no other way to create tables in asp.net?
tihcra 31-May-11 1:06am View
   
can u post the barebones of ur page that will help
tihcra 31-May-11 1:02am View
   
center, i think, and set positioning to be absolute instead of relative
tihcra 31-May-11 0:57am View
   
try to include ur entire page content into a div tag with and id
then using css float that div
tihcra 31-May-11 0:49am View
   
my main problem is how to insert table inside of a div programatically when it wasnt there in the original aspx page?
the second question is how to set the value,name, id attributes of checkbox?
tihcra 30-May-11 13:04pm View
   
basically where to add javascript code and how to call it ?
tihcra 30-May-11 12:39pm View
   
i want to know what should i write for aspx page and what should code should be written in codebehind c# file