CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

MS SQL 2008 on ASP.NET Hosting



Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 9/12/2006 8:09:08 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 0 Views: 27 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
1 Items, 1 Pages 1 |< << Go >> >|
nisarkhan
Asp.Net User
Encryp & Decrypt QueryString9/12/2006 8:09:08 PM

0/0

i have a encrypt and decrypt function which works great but it breaks when i try to put on the master.page and i know that I'm not using that function properly and i need some assistance to come-up with smart Method that it encrypt if need and decrypt if need

Encryption:

QueryString qs = new QueryString();
qs.Add(
"MenuID", "VBI");
QueryString qsEncrypted = Encryption.EncryptQueryString(qs);

Decrypt:

QueryString qs = QueryString.FromCurrent();
string _qsVisitInfoID = qs.ToString(true);
QueryString qsEncrypted = Encryption.DecryptQueryString(qs);

in my Master.Page scenario like when the user clicks on the left navigation i selected page based on click left nav, my question how do i decrypt and encrypt if requried?

//left nav function 

PanelItem selectedItem = myPanelBarNav.FindPanelItemById(qsEncryptDecrypt); <<<<<<<<<< i have to know the value otherwise i will get "null" or break

if (selectedItem != null)
{
selectedItem.Enabled = false;
if (selectedItem.PanelItems.Count > 0)
{
selectedItem.Expanded =
true;
}
else
{
selectedItem.Selected =
true;
while (selectedItem.ParentItem is PanelItem)
{
((
PanelItem)selectedItem.ParentItem).Expanded = true;
selectedItem = (
PanelItem)selectedItem.ParentItem;
}
}
}

 


Its all about coding!
1 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Pro ASP.NET 2.0 in VB 2005: From Professional to Expert Authors: Laurence Moroney, Matthew MacDonald, Pages: 1253, Published: 2006
Pro ASP.NET 2.0 in C# 2005 Authors: Matthew MacDonald, Mario Szpuszta, Pages: 1255, Published: 2005
Pro ASP.NET 3.5 in C# 2008 Authors: Matthew MacDonald, Mario Szpuszta, Pages: 1498, Published: 2007
Programming ASP.NET: Building Web Applications and Services with ASP.NET 2.0 Authors: Jesse Liberty, Dan Hurwitz, Pages: 930, Published: 2005
Cryptography for Internet and Database Applications: Developing Secret and Public Key Techniques with Java Authors: Nick Galbreath, Pages: 400, Published: 2002
Information Security Management Handbook Authors: Harold F. Tipton, Micki Krause, Pages: 3231, Published: 2007
Professional ASP.NET 2.0 Server Control and Component Development Authors: Shahram Khosravi, Pages: 1186, Published: 2006
Pro ASP.NET 2.0 in C# 2005: Create Next-generation Web Applications with the Latest Version of Microsoft's Revolutionary Technology Authors: Matthew MacDonald, Mario Szpuszta, Pages: 1426, Published: 2006

Web:
encrypt and decrypt query string - ASP.NET Forums This code has been used to encrypt and decrypt query string .No matter what the lenght of the url is ,this code will encrypt the key and the ...
How to Encrypt & Decrypt a Query String - ITtoolbox Groups How to Encrypt Decrypt a Query String. Your Full Name:. Your Email Address:. Recipient Email(s): Separate multiple addresses with commas. Optional Message: ...
Encrypting QueryStrings with .NET What I was looking for was a quick way to encrypt and decrypt parts of a QueryString - it had to be on the fly, quick and dirty. ...
ASP.NET Secure QueryString (Encrypt/Decrypt) - Dev Articles NET Secure QueryString (Encrypt/Decrypt)- .NET Development. Visit Dev Articles to discuss ASP.NET Secure QueryString (Encrypt/Decrypt)
Encrypt / decrypt querystring and cookie variables? : VB-script ... I am looking for a vb-script function that encrypts and decrypts strings in an easy and efficient way (encryption on page 1 and decryption on page 2), ...
encrypt and decrypt query string - Community Server Community Server is the platform that powers rich blogging, discussions, and sharing web communities.
Re: encrypt/decrypt query string: msg#00051 Previous by Thread: encrypt/decrypt query string, Justin Collum. Next by Thread: Re: encrypt/decrypt query string, Ben Strackany ...
'Re: [PHP] decrypting query string back into $_GET['var']' - MARC 'Sending' PHP script: require_once("/home/includes/encryption.inc"); ... Do you need to decrypt the query string first ? > > yes - if you have a query ...
Encrypt QueryString - ASP.NET Forums Encrypt the querystring and then redirect the user to page2. In page 2 get the querystring make a call to the decrypt function and then you ...
Ismail Tutumluer-Ölümüne Kankayız: Asp.Net Encryption/Decryption ... İyi Günler, İsmail tutumluer. Gönderen ismail tutumluer zaman: 16:58. Etiketler: Asp.Net Encryption/Decryption Query String with DES Base64 encoded. ...




Search This Site:










menu and video display

asp:menu styling questions

is it possible synchronize a treeview control after treeview data has been updated... without refreshing the page?

unnecessery footer movement in master page

change what contentplaceholder masterpage points to from default.aspx to something else

menu control not applying horizontalpadding

sitemapdatasource and adding menu items dynamically ?

master pages ?

send the required query variables in “post” in a submit page + pages using master pages

sitemapnode contructor parameters

master page control question

sitemapnode - anonymous users only?

hide child item of a menu.

master/ content page: how to invoking button click event?

treeview: parent nodes without url

problem with "go back" link

treeview selectednodestyle background problem.

content place holder help plz?

problems accessing property on root masterpage

is it possible to have more than one root menu item?

how to display treeview without its rootnode

populate treeview programatically

"microsoft jscript runtime error: object expected" when redirecting from content page

runtime determination imagebutton or button

how to change the hyperlink(maybe navigation menu) saved in masterpage the dynamic linked address?

menu image backgrounds

creating xml document for treeview and menu control

make nav treeview visible only on mouseover

only one server-side form on one page problem

dynamic content within master pages

  Privacy | Contact Us
All Times Are GMT