|
|
sivaram praveen wrote: but javascript is not working
That's not a useful description of the problem. What does it do, and how does that differ from what you expected? Do you get any error message?
Why are you using a LinkButton? That will do a postback, so your javascript will never be called.
Experience is the sum of all the mistakes you have done.
|
|
|
|
|
Hello ppl,
I want to put a confirmation dialog box when a user clicks on the GridView Delete Command Button.
How can I do this?
Thanks
Rocky
You can't climb up a ladder with your hands in your pockets.
|
|
|
|
|
hi
after you insert a button in dataGridView , you can write follow code in onClientClick property :
OnClientClick="return confirm('are you ... ?')"
|
|
|
|
|
Thanks a lot man.
Rocky
You can't climb up a ladder with your hands in your pockets.
|
|
|
|
|
Just a quick question:
In ASP.Net are you encouraged to use controls such as the Panel for layout, rather than divs and whatever else you'd use in a plain olf HTML file?
Me: Can you see the "up" arrow?
User:Errr...ummm....no.
Me: Can you see an arrow that points upwards?
User: Oh yes, I see it now!
-Excerpt from a support call taken by me, 08/31/2007
|
|
|
|
|
martin_hughes wrote: In ASP.Net are you encouraged to use controls such as the Panel for layout, rather than divs and whatever else you'd use in a plain olf HTML file?
For me, I didn't have a need to use it, i am using tables as layout. Each control has it's own good and bad side.
|
|
|
|
|
You should use divs and stylesheets for web application page layout. Only use tables if you are wanting to display tabular data.
Panels are useful for example if you want to hide/unhide a number of controls. Easy to do if controls are on a single panel, just set panels visible property to true or false.
Take a look at http://asp.net/learn/videos/video-188.aspx for free video on CSS (Cascading Style Sheets). This gives an example of how to use divs and a stylesheet to layout a webpage in asp.net.
|
|
|
|
|
Magic - thanks Phil.
Me: Can you see the "up" arrow?
User:Errr...ummm....no.
Me: Can you see an arrow that points upwards?
User: Oh yes, I see it now!
-Excerpt from a support call taken by me, 08/31/2007
|
|
|
|
|
Couldn't have put it better myself.
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Hi,
I want to use Ajax Extensions on my web app.(ScriptManager,UpdatePanel,.. ).
The server (host) that I use must support any extra feature? (for example: ajax extension or ...)
Best wishes
|
|
|
|
|
mehrdadc48 wrote: The server (host) that I use must support any extra feature?
yes.
Contact provider, that will install the ajax axtension.
|
|
|
|
|
Hi
guys i have used ajax in my application, the problem is that it works fine on my local machine , but on live server it gives the following exception
Exception= Object reference not set to an instance of an object. Ajax at
Ajax.AjaxRequestProcessor.Run()
at Ajax.AjaxHandler.ProcessRequest(HttpContext context)
at
System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplicati
on.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&
completedSynchronously)
any one got the idea wht is the problem, kindly let me know asap, thankx in advance,
regards
|
|
|
|
|
|
thankx for ur reply man i have google it before ur advice but still no progress yet, can any on kindly let me know wht's going wrong ,
regards,
|
|
|
|
|
I had created a folder for every session in the web browser to store temporary files. The folder is created after successful login. On the session end event the folder is deleted . On click of the logout button the session is abandoned.
If the user logs out properly then the folder is deleted but if he just closes the browser the folder remains thus cluttering the web server.
Can u tell me how the session end can be fired if the user just closes the browser
|
|
|
|
|
nadusen wrote: Can u tell me how the session end can be fired if the user just closes the browser
You will get 1000's of questions on the same issue if you do a search on this forum.
No events are fired on server when a browser is closed. But your session_end will be called when session times out. Means it will be deleted even though your browser is closed, but not immediately. It will be present still the session gets timed out.
If you want to delete the folder immediately, call some JS function when browser is closed, from that function do a AJAX call to the server and delete the folder.
|
|
|
|
|
no i think you can't do it as the browser is at client side and tere is not a single event that will inform the server that browser is closed
Do one thing set a time for session time out
after it you can delete the content
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
|
Vasudevan Deepak Kumar wrote:
http://www.eggheadcafe.com/articles/20030416.asp[^]
Yes, When i saw the question first, I was expecting you to forward this link. I tried that method, but I am not at all satisfied. What about you ? session_end works correctly to me in inproc mode.
|
|
|
|
|
I greet you all.
Would you please help me.
I am writing a web application in ASP.Net 2.0 that have to populate a TreeView with our Intranet's pages and their links. The homepage will be the Root and all the pages that the home links to will be Child nodes.
Each TreeNode should have a DropDownList next to it, with 3 options (Update,Delete, Add New).
So I just need your assistance on how to put a DropDownList next to a TreeNode, and how to get whatever is selected from the DropDownList.
Your help will be appreciated.
Thanks in advance
khuzwayom
khuzym
|
|
|
|
|
hi to all,
I want my gridview columns to have fixed width. Even though data is long, i want it to be shown only till the width permits,remaining in next line.
plase help me.
jai
|
|
|
|
|
u can try following link
http://mattberseth.com/blog/2007/09/freezing_gridview_column_heade_1.html
no knowledge in .net
|
|
|
|
|
I am in a problem. I have to show the values of database in the grid and I want to print this web page. But problem is when user is entering the data like(pppppppppppppppppppppppppppppppppppp) so the column width is automatically increase like below:
name id addd class
lllllllllllllllllllllllllllllllllllllllllllll 123 jkkkk pppp
I want like this
name id add class
lllllllllll 234 fff rrrr
lllllllllll
lllllllllllll
Please give me steps to fix the width and if the name is long the next part will come in next line.
jai
|
|
|
|
|
Hi jai,
set column width and wrap property to true.
pallavi
|
|
|
|