Asp.Net Menu Highlighting
I try to figure out what's the best strategy to manage a menu in Asp.Net and highlight the "active" menu-item. That's have to be done in the MasterPage but it's the Page that know what menu-item to highlight. ...
I try to figure out what's the best strategy to manage a menu in Asp.Net and highlight the "active" menu-item. That's have to be done in the MasterPage but it's the Page that know what menu-item to highlight. ...
I got this code in my Master page : <script type="text/javascript"> $("#<%=hfJavaScriptDetected.ClientID %>").val('yes'); </script> <asp:HiddenField ID="hfJavaScriptDetected" runat="server" Value="no" /> So if Javascript is enabled the value of my hidden field should have be changed. Now, what I would like to do is check this v...
Hi, I am currently learning about named pipes in Windows using ASP.NET 3.5 and C#. I wrote a small server program which creates a named pipe: using (NamedPipeServerStream pipeStream = new NamedPipeServerStream(pipeName)) { pipeStream.WaitForConnection(); // do sth. } and a client application opening the pipe like this: using (...
I am using the Microsoft Log Parser in a Windows Service. The program works in a regular web page but when I put the code in a windows service it does not work. I put Breakponts in the windows service but when I run the code the program does not stop at the breakpoint. So through out my troubleshooting I have narrowed the problem down t...
I have created a web application using Visualstudio 2008 using C# on my computer. I am using windows server 2003. I have now published the webapplication and put those contents in the server.. with a field called inetpub\wwwroot. i have created a root directory for it in the IIS with the name "super". Now i need to see this in intern...
Im trying to list all categories in a VPP-folder using a module from Meridium called FolderBrowserProperty. It works perfectly locally and on our company's remote test site, but on the live site we are getting the following error: Server Error in '/' Application. Unhandled Execution Error Stack trace: [HttpException: 0x80004005]<...
Hello I have a strange thing going on in an ASP.net 2005 project converted to 2008 The project uses ASP>NET AJAX No Compilation errors the form does show up and work but at design time label show rendering issues shown in the image. Now I found that if I remove ID attribute from the control there is no rendering issues. Any clues...
I am randomly encountering the following error: Message: Invalid viewstate. Client IP: xx.xxx.xxx.xx Port: 2324 User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.1; InfoPath.2; .NET CLR 3.5.30729; .NET CLR 3.0.30618) ViewState: Stack Trace: Message: Invalid length for a Base-...
Good Evening All, A client has asked that I develop a web application as part of his existing site built in ASP.net 3.5 that will enable his brokers to generate quotes for potential client groups. Such quotes will need to be derived using rate tables stored in a SQL Server 2005 database. The table structure is as follows: [dbo].[Pl...
Hi, Is it possible to use asp:RequiredFieldValidator and asp:RegularExpressionValidator for a single textbox. Kind Regards, Geetha ...
Hi All, I created a ASP.NET3.5 website having a crystalreportviewer in it, it works fine if I run through visual studio 2008 or on my own machine. But when i deployed project on web server, it started giving me error. Firstly it was giving error on first page that CrystalDecision.web assembly can't be found, then I installed Crytal Run...
I have a solution with 3 projects.One of UI (contains web pages) and one for BL and one for DataAccess layer.Now i want to access one values stored in application variable in one class inside my DataAccess layer project.How can i access application variables there ? ...
How can i set a custom color as border color for the ASP.NET 3.5 chart control series in code behind(C#) ? I need a codebehind implementation of the following (which is in ASPX) <ChartAreas> <asp:ChartArea Name="ChartArea1" AlignmentOrientation="All"> <AxisX> <MajorGrid LineColor="#EEEEEE" /> <MinorG...
How can I draw free hand lines above a image in ASP.NET 3.5 AJAX? ...
We have a .net 3.5 Web Application Project. It has a custom http handler defined inside a .cs class. There is also a corresponding web.config entry for the handler and the corresponding module. However, when the application is published, the handler is not being hit - I verified it through attaching VS debugger to the w3wp.exe process, a...
What's the best way to minify the ASP.NET generated Javascript, such as the ones served by webresource.axd, in ASP.NET 3.5 at runtime? I tried using the MbCompression module but it's not working with those resources. ...
I'm building a new web app that has a requirement to generate an internal short URL to be used in the future for users to easily get back to a specific page which has a very long URL. My initial thoughts are to store a number in a database and output it in a HEXADECIMAL value to keep it shorter than an integer. TinyURL.com seems to use s...
I'm creating a csv file on the fly in my ASP.NET web app and sending it back to the user using the following code ExportPlacementListPostModel postModel = CreatePostModelFromRequest(); MemoryStream stream = PlacementDatabaseController.ExportPlacementList(postModel); Response.Clear(); Response.ClearContent(); Response.ClearHeaders(); Res...
Hi, Please help I am trying to code for selectAll or clear all using Jquery. I have a checkboxlist and the value of id seems to be incorrect. Id in firebug shows the value "<%= checkboxId.ClientID %>" Thanks SA Part of the code: <a href="javascript:void(0);" onclick="selectClearAlltest('<%= checkboxId.ClientID %>', true)">Select All<...
I am using a Listbox and Telerik Scheduler in my web page. I need to drag an item from listbox to scheduler control. How can I do that? ...