How to use ScriptResource.axd with another host
Hi, Is there anyway to change the src to include another host? From: script src="/ScriptResource.axd?d=blablabla" To: script src="http://host_xyz/ScriptResource.axd?d=blablabla" ...
Hi, Is there anyway to change the src to include another host? From: script src="/ScriptResource.axd?d=blablabla" To: script src="http://host_xyz/ScriptResource.axd?d=blablabla" ...
I'm developing a website , job portal. I have 2-3 years of ASP.NET webform development experience, I want to create a professional job portal site (to improve and learn more) but trying to decide on best architecture. Any suggestions or advice will help... Thanks ...
I am writing a web application in ASP.NET 3.5 that takes care of some basic data entry scenarios. There is also a component to the application that needs to continuously poll some data and perform actions based on business logic. What is the best way to implement the "polling" component? It needs to run and check the data every coup...
I am experimenting with the integrated authentication mode for static content in IIS7. I followed the instructions in this article: http://aspnet.4guysfromrolla.com/articles/122408-1.aspx It is working fine if I allow/deny access by login status (like in the article). However I want to allow/deny access based on roles (using the ASP.NET ...
Can any one tell me how to do styling for an asp.net datagrid control.I have the following requirements. I want to know to which proprties these style classes to be applied 1 . Header Row should have border in top and bottom.No Left and Right borders. 2 . Want to have a line seperator between each column in the header row.Not needed fo...
Is there any way to force my asp.net application to load the assembly from local bin directory since there is another older version of the assembly with the same name in the gac? I can't delete the gac version since other applications are using it and I am facing some difficulties when adding the newer version to the gac. ...
I am going to develop a web portal. I have an option to choose a technology either PHP or ASP.NET. In terms of performance (not development speed) which will do better. Coming to webserver, IIS vs Apache, which will perform better? How many no. of requests/second can be handled by IIS? How many no. of requests/second can be handled b...
Hi, My department doesn't have a server to host web applications developed in ASP.NET. They do have RHEL boxes having Apache web server, which won't host my ASP.NET web pages. I inquired and they said they have mono which would run my .NET applications. I created a simple web page and it worked on my windows laptop. My question is wha...
Using ASP.Net 2.0 I need an example of how to load a GridView after clicking a button on the page. I am unable to get the events right - with the PostBack in the PageLoad, seems it's not getting it right. I have three textboxes whose contents are passed to a query which is executed and a datatable is returned. But how and in which ord...
I am getting the problem of aspxerrorpath. I dont want asp.net to validate this variable, even when I have custom page error enabled. If I write something like alert(7);'">https://...../asd.aspx? aspxerrorpath=<script>alert(7);</script>' it throws an error and forward me to the aspx error page by default and not to one of my pre-define...
Will VS2008 be able to develop ASP.NET 4.0 applications when it is released? I would hate to have to go buy VS2010 just for a couple of features I'm looking forward two like Dynamic Data and session profiles. ...
<asp:DataGrid> <ItemTemplate> 1) <asp:TextBox ID="tbComments" onChange="javascript:checkLength(<%# tbComments.ClientId %>);" runat="server"/> 2) <span id="<%# tbComments.ClientId %>Label"></span> </ItemTemplate> </asp:DataGrid> Any ideas to make the above working (which doesn't :P)? ...
Hi, I'm trying to create a login system for my website, I've created a custom login.ascx and when the user clicks [ Login ] a div pops up with the contents of login.ascx. Then after the user enters their credentials, they click on the Login button. They get validated and logged in using this code in the login click function: if( Membe...
I'm doing a form submission on my ASP.NET page. After the user has pressed submit I want them to have a completely fresh version of the page so that they cant press reload and resubmit and so its a completely clean start. I gather that Server.Transfer() is bad, I know I could maybe post a random string in the URL. But is there a better ...
Hi, I have this set up... <%@ Register TagPrefix="UserControl" TagName="UserLogin" Src="~/admin/Authentication/Login.ascx" %> <%@ Register TagPrefix="UserControl" TagName="UserRegister" Src="~/admin/Authentication/Register.ascx" %> Then later on in the same file I use the tags... ...
I have created a custom validator for maximum characters for a multiline textbox in ASP.Net. Below is the code that I am using. <asp:CustomValidator ID="cvPersonality" runat="server" ControlToValidate="txtPersonality" Display="Dynamic" ErrorMessage="*Maximum Characters 200" OnServerValidate="cvPersonality_ServerValidate"></asp...
<asp:FormView DataSourceId="edsAccounts"> <ItemTemplate> <asp:TextBox Text='<%# Eval("Email") %>' /> <asp:DataGrid ID="dgReports" DataSource='<%# Eval("Reports") %>'> </ItemTemplate> </asp:FormView> <asp:EntityDataSource ID="edsAccounts" runat="server" ConnectionString="name=Entities" DefaultContainerName="Entitie...
Heading I want to pass some variables from one page to another but I don't want them to appear in the URL. When I use a form to post the an ActionResult it works fine. However, when I do this return RedirectToAction("Trackers",new{page = 1, orderby=desc}); I get the URL: http://examplesite.com/Trackers?page=1&orderby=desc Is ...
We are developing an ASP.NET HR Application that will make thousands of calls per user session to relatively static database tables (e.g. tax rates). The user cannot change this information, and changes made at the corporate office will happen ~once per day at most (and do not need to be immediately refreshed in the application). Abo...