|
Hello frnds,
i have face session Timeout problem.
This problem occurs when i redirecting from a page to another page.
i used session timeout = 20 in web.config
but still facing a problem much...
what can i do ??? can i use server.transfer() instead of Response.redirect()
any other suggesation...
Thankx in advance
koolprasad2003
Be a good listener...Because Opprtunity knoughts softly...N-Joy
|
|
|
|
|
koolprasad2003 wrote: This problem occurs when i redirecting from a page to another page.
Make sure both pages are in same domain. Also there many other setting for controlling session timeout. You need to make sure everything is correct.
|
|
|
|
|
What is the problem? Does the timeout occur when it shouldn't, or doesn't it occur when it should?
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
... or does it occurr when it should?
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
|
|
|
|
|
hi
I have a drop downlist with the titles of my documents. I cut the titles if their length is more than 25 but when I hover my mouse on the values of the drop down list, I want to display the full titles as tooltip(I dont know whats the exact name to say, I think its tooltip). for example: If I hover the mouse on links if we set the title of the link it displays the links with yellow box and title. Like that I want to display the titles with in the drop downlist.
Is it possible. How can this be done?
Any one give me Ideas!!
thanks
|
|
|
|
|
Set the tooltip property of control to the text you want to display.
Arun Singh
Noida.
|
|
|
|
|
Hi Arun
thanks for the reply. I set the tooltip property of the drop downlist to the text but in the front end its always showing me the last drop down list value in the tool tip. how can I get the tool tip for all of the values in the drop down list.
thanks
|
|
|
|
|
Hi all,
How to embed a external vbscript file in asp.net application.
Thanks in advance
Dana
|
|
|
|
|
the same way you do a javasript file, with a script tag. You shouldn't use vbscript tho, it means only IE can open your page. Plus, it sucks.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Protected Sub GridView1_RowEditing(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewEditEventArgs) Handles GridView1.RowEditing
GridView1.EditIndex = e.NewEditIndex
fillgrid()
End Sub
hey with above code i am editing one complete row but i need only one particular column in selected row.. can any one help in this
|
|
|
|
|
Set the readonly property to true for the columns that you dont want to let the user edit
Alexei Rodriguez
|
|
|
|
|
Hi
I have the following code:
Button1.Attributes.Add("onmouseover","this.style.backgroundColor='#000000'");
Is it possible to make a div invisible by putting it in the above code, I cant seem to find the correct syntax.
I tried Div1.visible = false but it didnt work
thanks
|
|
|
|
|
this.style.display='none'
then
this.style.display='block' or 'inline' or whatever suits.
|
|
|
|
|
digital man wrote: this.style.display='none'
Do you mean Div1 instead of this ? this refers to the page instance, and it don't have a style property.
|
|
|
|
|
Sorry, indeed: typed it out too quickly for my own good.
|
|
|
|
|
.netman wrote: I tried Div1.visible = false but it didnt work
If Div1 is made to run at server, it should work. Alternatively try setting CSS display:none
|
|
|
|
|
Hi
i tried
Button1.Attributes.Add("onmouseover", "Div1.style.display='none'");
but when i hover over it shows a javascript error saying Div1 is undefined??
Ive got a div 1 in my aspx page and it runs at server
|
|
|
|
|
the other problem I have is that the div are invisble on the page load apart from one of them
when I try and make the other divs visible it shows the error I described in my previous post
|
|
|
|
|
.netman wrote: Button1.Attributes.Add("onmouseover", "Div1.style.display='none'");
Are you trying to hide div on button's mouse over ? Then you may try
Button1.Attributes.Add("onmouseover", "javascript:document.getElementById('div1').style.display = 'none'");
|
|
|
|
|
Ok thanks the code above worked, but how do I unhide a hidden div at the same time, ive tried the folloiwng but it says error object required:
Button1.Attributes.Add("onmouseover", "javascript:document.getElementById('div5').style.display = 'none';javascript:document.getElementById('Div2').style.display = 'inline';");
thanks!
|
|
|
|
|
Ok - You need to put all those in a JS function and call that function from the event. Something like
function ChangeDisplay(){
document.getElementById('div5').style.display = 'none';
document.getElementById('Div2').style.display = 'block';
}
Button1.Attributes.Add("onmouseover", "ChangeDisplay();");
|
|
|
|
|
fixed it, I had the visibility set in the c# so had to disable that
cheers for all the help!
|
|
|
|
|
.netman wrote: cheers for all the help!
Cheers !
|
|
|
|
|
Response.Write("<td><img style="CURSOR: pointer" id="image" onclick="javascript:openPopUp('" & lsimagename & "')' alt="" src="" & lsimagename & "" width="100">")"
and my java function is
function openPopUp(var imgnames)
I am using above code to display a popup window. it not working properly when passing a "lsimagename" as argument, but if i removed the argument it working properly (popup is displaying). when passing the argument popup not displaying. what is the problem
pls kindly help me
thanks in advance
modified on Thursday, May 1, 2008 11:56 PM
<div class="ForumMod">modified on Friday, May 2, 2008 12:00 AM</div>
|
|
|
|
|
I don't know if your code got screwed up when you pasted it into the window, but first of all, it looks like you aren't closing the parenthesis ")" when you call openPopUp. If that is not the problem, maybe you could post what the output looks like when you view the source in the web browser since that will most likely clue us into the problem - the server-side code doesn't tell us anything because we don't know what the end result is.
|
|
|
|