|
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
|
|
|
|
|
|
I am currently using the below custom popup control.(ASP.NET,Language used is C#)
http://www.codeproject.com/aspnet/asppopup.asp[^]
But i am not able to add Ok and CANCEL buttons inside the pop up.I cant use alert since i need to change the color and include title, which cannot be done in alert.
Can anyone help me out in this and suggest me with a better idea.
Mads
|
|
|
|
|
Have you tried deriving from this control and adding the buttons (and the code that goes behind) there?
ps: this should go to the C#/VB.NET7.NET forum. It has nothing to do with ASP.NET
--------------------------------------------------------
My portfolio & development blog
Q:What does the derived class in C# tell to it's parent?
A:All your base are belong to us!
|
|
|
|
|
CWIZO wrote: ps: this should go to the C#/VB.NET7.NET forum. It has nothing to do with ASP.NET
Just wondering how you came to that conclusion
|
|
|
|
|
Woops. I just glanced at the article and thought that its for Windows Forms. My bad.
--------------------------------------------------------
My portfolio & development blog
Q:What does the derived class in C# tell to it's parent?
A:All your base are belong to us!
|
|
|
|