|
I have sorted that
i used property htmlencode=false and it worked for me.
thanks
-- modified at 16:44 Monday 4th September, 2006
Naveed Kamboh
|
|
|
|
|
hi all
i hv created a dynamic page in which the controls are created according to data from a database these controls are radiobutton and checkbutton lists. i want to validate the user to check a fixed number of boxes in each list and also assure that the user checked a radiobutton in each RadioButtonList
abdelhameed81
|
|
|
|
|
+ To validate the number of boxes that the user checks you can use a custom validator or implement it on your own script.
+ To validate if the user checks a radiobutton in the list, you simply add the RequireFieldValidator to validate the RadioButtonList control.
|
|
|
|
|
the controls are creaeted in run time how do i access them
abdelhameed81
|
|
|
|
|
|
hi
This is a problem i came across while developing a project. My problem is to get the total of a datagrid column in a data grid control in ASP.Net with VB code.
If anybody can help me with finding this piece of code i ll be much greatfull
|
|
|
|
|
There are a couple of ways to do this common thing:
+ You can populate the total value based on the datasource bound to the control.
+ You can populate this value using the ItemDataBound event of the datagrid control.
You can find the sample code from the site[^].
|
|
|
|
|
Sir,
I am deleting the record in the datagrid but before deleting the row i want to send the request like 'are u sure u want to delete the record' .I mean i want two buttons Ok and cancel if ok is pressed it deletes the row otherwise row will not be deleted and for that i don't want to use another web form and want java script tools .Can i use these things in vb code behind file . Please help how to solve this problem.
Thanks
|
|
|
|
|
Hi,
IMO,You just simply use the js statement window.confirm(...) ...
<< >>
|
|
|
|
|
Use this java script,
if ( ! confirm( 'Do you want to delete primay contact'))
OR
If you want to do on the server side only then go through this link,
http://www.codeproject.com/aspnet/NingLiangSimpleControl.asp
Ram
|
|
|
|
|
hi all,
how to use the ajax with asp.net 2.0.what step should be follow to when i select a dropdown list (autopostback property is true) then whole page is getting refresh. please give me some idea how to use ajax .
thanks in advance
thanks n Regards,
Srinandan
-- modified at 9:20 Monday 4th September, 2006
|
|
|
|
|
it's completely clear that the page get refreshed as you set autopostback is true, why dont you try to set it to false???
<< >>
|
|
|
|
|
Have you looked at some sample code of an Ajax library or Atlas available out there? This is a common example that I can easily find in lots of the Ajax-style libraries.
|
|
|
|
|
I get this error:
Server object, ASP 0177 (0x800401F3)
Invalid class string
on this line
session("msg") = ""
set aspObj = server.CreateObject("asp.dataaccess")
session("UserName") = Request.Form("username")
|
|
|
|
|
Boboza wrote: session("msg") = ""
set aspObj = server.CreateObject("asp.dataaccess")
session("UserName") = Request.Form("username")
The bolded part above is the "class string" and this is invalid. In order to use Server.CreateObject in classic ASP a com dll had to be registered on the webserver using regsvr32 utility.
|
|
|
|
|
hi J4amieC,
where can i get this com dll?
|
|
|
|
|
I've no idea! Where did you get the snippet of code from?
|
|
|
|
|
Hi All,
I have created datagrid with hyperlink column and it work fine.My problem is, i want to pass 3 parameters at the same time from the hyperlink column to another page.can anybody help me with this?
Thanks!
Pradeep Reddy
|
|
|
|
|
You can pass the parameters using querystring. Append the parameters to the querystring and then retieive them in the targeted page.
Best Regards,
Apurva Kaushal
|
|
|
|
|
thank u...
Pradeep Reddy
|
|
|
|
|
always welcome..
Best Regards,
Apurva Kaushal
|
|
|
|
|
in url field iam passing-----moviename&time1&screenname
in url format string iam passing ------avlseats.aspx?a={0}&b={1}&c={2}
this is giving error. plz tell me how to solve this problem.
Pradeep Reddy
|
|
|
|
|
You need to concatanate the string values into the URL. Something like this:
"avlseats.aspx?a=" + "valueOfa" + "&b=" + "valueOfb" + "&c=" + "ValueOfc" ;
Best Regards,
Apurva Kaushal
|
|
|
|
|
if u pass something into url field then only the urlformatstring is getting activated. what should i pass in to url field?
Pradeep Reddy
|
|
|
|
|
all the string values you can pass in the querystring.
Best Regards,
Apurva Kaushal
|
|
|
|