|
put your Button code in
if(IsValid)
{
//Your Code (For C#)
}
if(IsValid) then
'Your Code (For VB)
End if
Hope This may help you
Dotnet
|
|
|
|
|
I already done this but the IsValid return true so It doen't help
Thanx
Eric H.
|
|
|
|
|
it will return true then what's the problem, u want to say that ur validation is not working in firfox am i correct then this is the solution as i think. try to do it
it may help u.
if i'm getting u wrong then let me know?
Dotnet
|
|
|
|
|
Sorry, let's me explain again.
When I press on Internet Borwser the Back button (in Firefox and Opera) I get the UI page and the validators are still showing me that there are errors on page, they are still showing me the errormessages but there is no more errors. I would like this page to be "refreshed" when I clicking on back button. In IE there is no problem.
I hope you understand me
-- modified at 8:17 Thursday 16th November, 2006
-- modified at 8:18 Thursday 16th November, 2006
Eric H.
|
|
|
|
|
Hi All,
In My ASP .NET (VB .NET As code behind) Appliacation. I've populated the table and I bind a checkbox in the first column of the grid.
User can select the rows which he/she wants.. I need the checked and uncheked rows seperately..
Can any one please help me in that issue..
Thanks in advance..
|
|
|
|
|
You have to go through DataGrid.Items collection and check manualy if your check box is chcecked or not.
foreach (DataGridItem item in DataGrid.Items)<br />
{<br />
if (((CheckBox)item.Cells[checkBoxColumnIndex].Controls[checkBoxControlIndex]).Checked)<br />
{<br />
}<br />
else<br />
{<br />
}<br />
}
Pilo
|
|
|
|
|
Hi,
I have done a project which is runing fine in the local machine , but after deployement to the website it is showning runtime error in customerror tag of web.config.
In customErrors tag i have written
customErrors mode="RemoteOnly" defaultRedirect="Errorpage.aspx"
Please help me to solve the problem
Thanks & Regards
Mishra
|
|
|
|
|
Please do change in Web.config file
customErrors mode="Off"
Enjoy....
Pavan Pareta
|
|
|
|
|
hi
change ur customeError mode="Off"
After that u can see error of ur application
Pathan
|
|
|
|
|
Hi,
I have done it but still it is showing the same error.
Thanks & Regards
Mishra
|
|
|
|
|
Hi
Do u create virtual directory for ur application from ur domain site?
Also u have to change WebConfig setting there.
Pathan
|
|
|
|
|
hi,
can you please tell me how can i create a virtual directory in my domain site.
Thanks & Regards
Mishra
|
|
|
|
|
Hi Ballita.
go ur domain site there will be many options,choose web directory.there will be folder of Add New virtual directory and preference.
u can change ur webconfig setting from preference
Pathan
|
|
|
|
|
Hi,
Is your error page available in wwwroot folder or insidfe some other folder if yes then use
customErrors mode="RemoteOnly" defaultRedirect="../myfolder/Errorpage.aspx"
If it's won't work I will send u working web.config file
|
|
|
|
|
Hi,
I have insert Total of visitors and Current Number of visitors in my web site.
I would like for the moment to hide from users those numbers but allow only to view those numbers from my computer.
How can I do this?
Thanks
Eric H.
|
|
|
|
|
if you have a ststic IP, its possible. but if not you can not.
this issue could be solved by implementing a loggin scenario
When you get mad...THINK twice that the only advice
Tamimi - Code
|
|
|
|
|
I have a static IP, how can I do it?
Thanx
Eric H.
|
|
|
|
|
to get the users IP's, Request.ServerVariables("REMOTE_ADDR").ToString()
then compare it with your IP
When you get mad...THINK twice that the only advice
Tamimi - Code
|
|
|
|
|
This code return me an other IP, I don't know what it is but it is not my IP address. I am working on a big company and it may be IP from other machine. Do you know another possibility?
Thanx
Eric H.
|
|
|
|
|
when you test this code on your machine you will get 127.0.0.1
but if someone else visit your page, you will get his IP
When you get mad...THINK twice that the only advice
Tamimi - Code
|
|
|
|
|
|
|
Hi..
How to handle Honadwritting fonts..
If i write some text in HTML Textarea , when I selected Font name by DropDown list.. I want to chage the Textarea Font family also.. this is working fine when the Font in client machine..
But my client Required some Handwriting fonts.. those are not existed in client machine..
here also I have one solution but that working for Preview like after selecting font and when I click the Preview button.. at the time by using Privatefont collection I am displaying text on tht stlye..
but Client required when he change the Font name.. it autometically effect the Textarea also...
if this is not clear just go through the following link..
http://www.jason.sparklingdirect.co.uk/imagetemplates.aspx[^]
click on the Image
you are redirected to another page.. there is my client request
Thanking you..
Balavardhan
|
|
|
|
|
give me javascript code or any codebehind code also.when we r selecting one field (checkbox)it has to select automatically all fields in that particular row use of checkboxes
Smitha
|
|
|
|
|