Two ways spring to mind - put your content in a floating div, then implement d&d for it (pretty trivial), or if you're not in control of the content (i.e. from different URL), put an IFrame in the div first
"Now I guess I'll sit back and watch people misinterpret what I just said......"
Christian Graus At The Soapbox
The session should expire after 10mins & should redirect to login page. Also when user logged, click back button from browser & then clicking forward button,the session should expire & made him to Relogin again,please send code to me as soon as possible.Thanks in advance to whom so ever sending me the code......................
<sessionstate timeout="10"> ,
this means session will expire after 10mins,ok.after 10mins,which page it should redirect?,
where we hav 2 mention to redirect our login page(default page)?(was my question).
Also the second Qtn was, when you sign in to a page, then if click 'back' button in the browser,it will directs to login page & if click 'forward' button ,it should not direct to the homepage,it should direct to login page,How is this possible?PLzzzzzzzzz send the code.
Thank U for telling me in concept wise(internally) .
I tried thru ur concept wise,but am not getting ,can u please send code or give me links,
Hope u send me the solution............Thank U
sorry, I have no full code for now
- protected void Session_End(Object sender, EventArgs e) in Global to handle the session time out event
- For onunload event: more info here http://www.w3schools.com/jsref/jsref_onunload.asp, in your handler function you open a window to make request to server to let server remove the session
logout as taken as link (when i click logout,i declared url to redirect to the login page)
In "web.config: I declared time=1", 2 expire session time.
can u create session object & unload event for this code..........plzzzzzzzz
Still i didn't completed that task,its in ending...........am able 2 end the session using timeout,ok.But..........
I tried to kill the session when i click back button(by writing the code in load event),so that i had to login again when i click forward button.But the code is not working..............plzz check the code
In Login Page: in the load event
session.abondon(); (tried also Session["Login"]=null;)
& Coming 2 code in the homepage,in the load event
Hope U can solve my problem.......plzzzzzzzzzzzzzzzzzzzzzzz
I am trying to export contents of Repeater Control data to excel file...which also contains a check box in one of its columns...
but i have export without that checkbox control column..
how can i do it..pls help (ASP.NET/C#.NET)
I'm looking for help on my CMS (Sprocket) which I believe is significantly architecturally superior to the god-awful mess that is DotNetNuke. DNN is basically the only major open source CMS for the .Net community (unless you count Rainbow which is basically the C# version of it). There are others, but the only ones I have found are very simple, have mountains of sprawling ASPX/ASCX clutter to try and maintain, and/or are trying to be another 3-column portal engine (like we don't have enough of those).
The CMS already has a large established code base that has been well designed (in my opinion) and has been improved and evolved for over a year now.
Take a look at http://www.sprocketcms.com[^] for a complete feature list and to get access to the open source (BSD license) code base for review. There are several sites running it so far and more in development, but the code base has been 100% written by me and some help would be greatly appreciated to help accelerate things to the point where it can start to be viable competition to DNN.
In particular, I'm looking for some assistance with:
- improving the embedded scripting language
- getting the CMS page admin UI up and running
- building some community-related extensions
This will most definitely be one of the next big open source ASP.Net CMS's available. Help me push it over the line!
Hi, I have a gridview. In that I converted 1column(CampaignName) as a template field (linkbutton).. During runtime if I click on that CampaignName link button I have to get that perticular dataitem.... pls see the code:
in code behind file I have written like this:
protected void lbtnCampaign_Click(object sender, EventArgs e)
string str = GVDoctorActivity.SelectedRow.Cells.Text.ToString();
but it is showing null.. wat is the problem..? How can I get that perticular dataitem?