|
Hi..
im using session variables to store the login information of the user..
When user login and logout he cant review the pages he visited, its working fine ...
but if another user login's he can see all the pages visited by the previous user by clicking back button. Since session ID is not null it allows the page to appear..
Can u tell me how to remove all browser list on Logout..
thanks in advance
|
|
|
|
|
If you're using session variables, I don't see how that is possible.
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 )
|
|
|
|
|
Hello friends,
I want to give a message to the user in a alert format that your data has been saved successfully after saving data.
But i am unable to do this........
Please help me i am also using ajax updatepanel......
Thanks in advance........
Deepak Nigam
|
|
|
|
|
Tis is a web app, so message boxes need to me javascript, namely the alert command. You can emit script using the RegisterClientScriptBlock metod from you code behind, or write client side code to show it in response to AJAX calls
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 )
|
|
|
|
|
Hello Christian,
I am getting the following error "The Message recived from the server could not be parsed. Common causes for this error are the response is modifiyed ba calls to response.write(), response details , HttpModule, OR server trace is enabled.
As i am using the this inside a updatepanel.
I got this solution but confused that how to use this
ScriptManager.RegisterStartupScript(Me, Me.GetType, "key", "open('" + filename + "');", True)
I have a MessageBox Class that is working well with the simple forms......
Deepak Nigam
|
|
|
|
|
OK, perhaps you need to write client side script to handle this, if you are using the ASP.NET AJAX library as well, I don't know, I don't really use it.
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 )
|
|
|
|
|
Do you have trace on? Ajax controls do not work with trace enabled. It's a bug I have experienced myself.
Broken Bokken
http://www.brokenbokken.com
|
|
|
|
|
Hello Deepak ..
I'm Arun Vijay . I hope Below Code will Help You.
Write Below In HTML source.
function confirm()
{
else
return false;
}
Ans This One in CodeBehind '.cs'
ButtonName.Attributes.Add("onclick","return confirm('ENTER YOUR MSG')");
ArunVijay
|
|
|
|
|
All you need to do is call this function afer u save ur data..
eg..
SaveData()
{
your insert code here....
.....
Show_Msg();
}
Sub Show_Msg()
Dim scp As String = "alert('Data Saved Successfully ');"
ClientScript.RegisterClientScriptBlock(Me.GetType(), "script1", scp)
End Sub
When you fail to plan, you are planning to fail.
|
|
|
|
|
RequiredFieldValidator validator = new RequiredFieldValidator();
Table t = new Table();
TableCell c = new TableCell();
TableRow r = new TableRow();
validator.ControlToValidate = "TextBox1";
validator.ErrorMessage = "*";
validator.EnableViewState = true;
validator.EnableClientScript = true;
//Page.Validators.Add(validator);
validator.Display = ValidatorDisplay.Dynamic;
validator.EnableTheming = true;
validator.Enabled = true;
c.Controls.Add(validator);
r.Controls.Add(c);
t.Controls.Add(r);
Wizard1.Controls.Add(t);
i write this code but it dose not work. do any body what should i do?
|
|
|
|
|
Well, unless you add this before page load, it's not going to have any viewstate, that's for certain. Why create a table with one cell in it ?
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 )
|
|
|
|
|
i write this code in webpart. when i add it to cell i see error in runtime. and when i trace it i have no error. but my code doesnt run.
|
|
|
|
|
how to compare two table content in asp.net
|
|
|
|
|
IF they are in the same data source, best way is in the DB. Either way, ASP.NET has nothing to do with comparing data, although C# and VB.NET can do it.
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 )
|
|
|
|
|
bkarthikeyansjcmca@gmail.com wrote: how to compare two table content in asp.net
Your question doesn't made any sense to me, consider explaining it.
|
|
|
|
|
Hello Friend
... R u want to compare two fields in two tables are you want compare complete two tables.
To Compare Two fields will give solution
ArunVijay
|
|
|
|
|
hi all,in my asp.net application i have two menus from one sitemap,First menu is level 0 level shown at top/header of page. and second is at left side.
when i select/click on the left side menu then the selected menu at top of page is hided/vanished. which i dont want.
i want to select both top level menu and left side menu as well but it is currently selecing one at time not both.
Regards.
Tasleem Arif
|
|
|
|
|
Are both menues in the same masterpage?
|
|
|
|
|
hi thanks for ur reply,
yes both are on same page,
Regards.
Tasleem Arif
|
|
|
|
|
where is the filling of the menues done? in the page_load or in plain APSX?
|
|
|
|
|
Menus are actually saved in sitemap, and top level menus are populated using sitemap datasource while left side as populated using the manully getting the url names from sitemap.
Regards.
Tasleem Arif
|
|
|
|
|
Hi there,
i have an application developed for Windows Xp on VS2003 which uses Microsoft.ApplicationBlocks.Data.dll. Now i wish to migrate the application to windows vista for which i first need to migrate my code to VS2005. i want to know whether Microsoft.ApplicationBlocks.Data.dll is compatible to VS2005 and subsequently Vista. If no, then what are the workarounds or what else should i do.
Hope for help
Best Regards,
Mustanseer
|
|
|
|
|
You've spent three hours asking this on various boards of this site, but you're incapable of trying google or downloading it to see yourself ?
Are you hoping to be a programmer one day ?
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 )
|
|
|
|
|
It's urgent!
www.wickedorange.com
www.andrewvos.com
|
|
|
|
|
He also forgot to say "plz", the ill-mannered lout.
|
|
|
|