|
System.Diagnostics.Process.Start( <page_name> );,
This one start a new process at server and it depends on WinForm Application or Console Application.Use Response.Redirect();P
|
|
|
|
|
hi friends
on aspx form i have one server button ( Save ) and one HTML button (Canel)
On Save button values of text box store in database
on Cancel button I Just invisble one panel
both buttons are working fine
when i press save button and
when values of text box already exist in table
it gives me an Sql Error 2627
i shown error desc in label
now i want to cancel it means invisible panel
but it doesn't work here
how can i make it invisible in such condition
thanks
|
|
|
|
|
I don't think that cancel button has to do anything with that. What is happening when you are clicking cancel button after the error is displayed.
Best Regards,
Apurva Kaushal
|
|
|
|
|
after clicking html button
i need to invisble panel
run time label is also invisble
when error comes label gets visible
and i shown the error on label
when ever error is shown and i press the cancel button
panel doesn't get invisible
|
|
|
|
|
What code have you written for hiding the panel? Is it a javascript?
Best Regards,
Apurva Kaushal
|
|
|
|
|
hi guys i am currently trying to make my table height cover the whole page
my webpage is something like this:
________
|______|
|__|___|
as u can see my table have 3 cells i am trying to make the whole table stretch the maximum size of the webpage without a scroll bar pls help
i am using in asp.net
|
|
|
|
|
I seem to remember that you can use the HEIGHT="100%" attribute for this.
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Try the following....
<table id='myId' style='width:100%; height:100%'>
"Now I guess I'll sit back and watch people misinterpret what I just said......"
Christian Graus At The Soapbox
|
|
|
|
|
how to validate the phone no text box in asp.net?
|
|
|
|
|
with regular expression validation control
Amr Abdel-Mohsen Hafez
Software engineer
Cairo
E g y p t
|
|
|
|
|
Hi,
I have a website where Windows Authentication is used to log in the site. I have used ASP.NET 2.0. I need to add a button "Logout" that will close the session and bring the windows authentication window in response to click event.
Any Suggestion Please!
|
|
|
|
|
In the Click Event of the Logout button call this
FormsAuthentication.SignOut()
FormsAuthentication.RedirectToLoginPage()
First statement will destroy the authentication ticket, next statement will redirect to the page, which is specified in the authentication section of web.config file.
|
|
|
|
|
But I have used Windows Authentication, not Form Authentication.
|
|
|
|
|
|
hi,
In my site i want to send mail alerts to the registered users after a specific period(say after 15 days and 25th day about their expiry date).
Is it possible to send mail without any trigger.
Thanks in advance
arun rajappan
|
|
|
|
|
|
|
hi
Thanks szukuro........im not to this asp.net...its now working
cheers
|
|
|
|
|
I have a webform that includs the xml web server control which uses the xml file and xsl file to show my CV data(doesn't use ado.net) So how could I get a printable format like PDF from this page?.
I am too late but i will never give up
|
|
|
|
|
Hi guys/ gals,
I am working on ASP.NET 2.0. I have careted a datagrid in which ihave around 3 template columns each containing Checkboxes.
I want to update the record based on that checkboxes.
Like if there are three columns with name Status, Permissions, Active. so when i click the checkbox of the first row of status it should only change the status of that particular record in db with that status.
I am confused how I can do it. plss reply me urgently... If anybody can help me with the code..that will be great..
Please help me..
KHATRI
|
|
|
|
|
When are you trying to updated the database? Suppose if the button is outside datagrid then you need to loopthrough all the items and find the checkbox and then depending on the selection status you can update the database.
Best Regards,
Apurva Kaushal
|
|
|
|
|
It is inside the datagrid. Its placed in the template column of the datagrid..
KHATRI
|
|
|
|
|
In that case you can use OnItemCommand event of the datagrid. whenever you will click the button that event will get fired and there you can execute your storedprocedure to update the record.
Best Regards,
Apurva Kaushal
|
|
|
|
|
WEll i tried with ItemCommand Event of the Datagrid but its not working.
Because I am not able to define a command with that Checkbox so to match with the Command inorder to process with the checkbox.
Can i have ur personal msn id..?
so ill explain you by sending you a picture.. if you can help me..?
KHATRI
|
|
|
|
|
What you want to do is whenever user checks the checkbox you want to fire the event and update the database, if this is your case then it won't be a good idea. Inspite of that you can put a button and on click event of that button you can loop through all the items and check which one has been checked and those will be updated to the database.
Best Regards,
Apurva Kaushal
|
|
|
|