Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:860482
More Search Options
RSS Available
Matching Posts
Re: URL Rewriting Problem when deployed as root website
Hello, Thanks for the link its very informative. Sorry for responding so late. But still i couldn't get to cause that why would the code not work if its a website in root and works fine if its a virtual directory. Well I had the wildcard mapping in IIS done for both the cases. What is the internal structure thats making the difference in the implementation.
Posted to
HttpHandlers and HttpModules
(Forum)
by
himraval@gmail.com
on 6/27/2009
URL Rewriting Problem when deployed as root website
Hello, I have an application that has URL rewritting module used in it. When i configure the application as a virtual directory the application works as expected but as soon as i configure it as a website in IIS the URL rewriting starts throwing error. My rule looks something like this: <rule source="Menu/(\w+)" destination="Menu\.aspx?category=$2"/> Thanks in advance.
Posted to
HttpHandlers and HttpModules
(Forum)
by
himraval@gmail.com
on 6/18/2009
Filed under: url rewriting in ASP.Net c# without file page extension
Re: Check whether cookies & javascript are enabled
You could use the HttpBrowserCapabilities class to detect the client browser capabilities. HttpBrowserCapabilities bc = Request.Browser; Response.Write( "<p>Browser Capabilities:</p>" ); Response.Write( "Supports Cookies = " + bc.Cookies + "<br>" ); Response.Write( "Supports JavaScript = " + bc.JavaScript + "<br>" );
Posted to
State Management
(Forum)
by
himraval@gmail.com
on 5/25/2009
Textbox element is null in scriptresource.axd
I have a dynamic repeater control that has RadNumericTextBox (Telerik). The page throws a javascript error like Textbox element is null in the scriptresource.axd file. Could some one give me an idea why is the error occuring or how to handle it?
Posted to
ASP.NET AJAX UI
(Forum)
by
himraval@gmail.com
on 3/31/2009
Re: Maintain the datasource of dynamic usercontrol inside a repeater
Yes the team resolved it. We were losing the viewstate from the repeaters user control. So on the get and set for the user control we explicitly serialized the source and assigned it to the user control. That resolved the problem.
Posted to
State Management
(Forum)
by
himraval@gmail.com
on 3/26/2009
Re: Viewstate failed
Try to set the viewstate explicitly for the page as follows: protected override object LoadPageStateFromPersistenceMedium() { if (IsPostBack) { LosFormatter format = new LosFormatter (); String viewState = HttpContext .Current.Request.Form[ "__VIEWSTATE" ].ToString(); return format.Deserialize(viewState); } } protected override void SavePageStateToPersistenceMedium( object viewState) { LosFormatter format = new LosFormatter (); StringWriter writer = new StringWriter (); format.Serialize
Posted to
State Management
(Forum)
by
himraval@gmail.com
on 3/20/2009
Maintain the datasource of dynamic usercontrol inside a repeater
I have created an usercontrol that gets dynamically created within the itemtemplate of the repeater. The usercontrol has a dropdown which on selectedindexchange fires an postback due to which the datasource (which is an xml element) get lost. Please suggest methods to resolve this problem.
Posted to
State Management
(Forum)
by
himraval@gmail.com
on 3/18/2009
Re: Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that <machineKey> configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster.
Embed the following code snippet in the web.config under the <system.web> < machineKey validationKey = ' P34563P73C2CE59AF74A582FD547KU78C5217DD294E88C7107FC63F06F7458087CA99CBE2E0D7447CD2AF6267DFCEBB05381BA6901DDA56CCE27ED5EBE459DB9 ' decryptionKey = ' 876567654T8614863409438759EFB1A2E5AC313E6C844C1E ' validation = ' SHA1 ' /> Replace the validationkey and the decryptionkey can be from the following http://www.developmentnow.com/articles/machinekey_generator.aspx
Posted to
State Management
(Forum)
by
himraval@gmail.com
on 3/18/2009
Page 1 of 1 (8 items)
TechNet Edge:
Windows Server 2008 R2 Quick Look- Installing the Migration Tools
WindowsClient:
My latest videos – WPF, Silverlight, Sensors, and PDC09
WindowsClient:
Developing an installer for your Surface application
ASP.NET:
Visual Studio 2010 and .NET 4 Update
WindowsClient:
Microsoft’s product placements in The Big Bang Theory
Channel 9:
Channel 9 Live at PDC09: Martin Cron
Channel 9:
Channel 9 Live at PDC09: Erik Meijer and Thomas Lewis
WindowsClient:
Download Data Services Update for .NET 3.5 SP1
Silverlight:
Extending the SMF for the HVP
Silverlight:
Extending the SMF for the HVP
Channel 9:
C9 Lectures: Dr. Erik Meijer - Functional Programming Fundamentals Chapter 12 of 13
Channel 10:
Bing Maps Update: Map Embeds and Draggable Routes
WindowsClient:
New WPF Showcase: WEB Touch
ASP.NET:
ASP.NET MVC 2 RC Released
WindowsClient:
Very exciting Microsoft Pivot from Live Labs
WindowsClient:
XAML for UI & .rc files
TechNet Edge:
DNS Security (DNSSec) Overview
Silverlight:
Silverlight 4 demos from my PDC Keynote now available
Channel 9:
Channel 9 Live at PDC09: Dave Campbell
Channel 9:
Channel 9 Live at PDC09: Yousef Khalidi
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online