Bit of a weird one here - I've created a map with various image overlays floated over the top using CSS for a web app which is built in asp.net; it looks and works fine in the browser, however the page the map appears in is sometimes converted to a Word document for editing, after conversion the map either disappears if using background ...
In the sitemap file, I have sitemap Node URL which have more than 1 query string, like...
<siteMapNode url="~/abc.aspx?m=2&c=2" title="title" description="" />
but I am getting error at '&'
how to handle multiple query string?
...
I have a javascript function that checks for a date range. Is there any way to check if a user has input a valid date in a textbox, regardless of format?
function checkEnteredDate() {
var inputDate = document.getElementById('txtDate');
//if statement to check for valid date
var formatDate = new Da...
I have a asp.net validation in test box when i debug and run in vs2008 web developer edition is working fine.
But when i display the code in the production server by copy pasting the code in web root folder its not working.
I am developing the application using vs2008 web developer edition in windows 2003 server, i am deploying the cod...
Simple question: I am working on a website and want to display a page with some useful information about the web server, but without providing useful information to any potential hacker.
What kind of (server) information is safe to share and how do I get this information when using Visual Studio 2008?
...
Umbraco version: umbraco v 4.0.0 (Assembly version: 1.0.3327.20280)
Asp.Net: .Net framework 2.0
Windows server 2008 with IIs7
Sometimes when viewing a page with a contained macro, the macro part of that page is completely removed, not rendered, no error no nothing only a incomplete page. Loading the same page again, it's rendered corr...
Hi I'm using telerik rad controls for asp.net
I have to clear the inputs with javascript;
but telerik controls (radcombobox e.g.) generates a huge markup
so how to clear telerik controls on a page in client-side?
thnx
...
I've got an upcoming project that is going to be dealing with 70,000+ users (education). I was wondering if the ASP.NET SqlMembership Provider has been used at such large capacities? Assuming the hardware is there, is there anything special that needs to be done to make it work smoothly? We're doing all the obvious things like separat...
Hey guys...
I got this code in order to build an url for the link using a querystring from the current page. The problem is.... It doens't work. Any suggestions?
<asp:hyperlink ID="link1" runat="server" NavigateUrl='<%@("Equipamentos.aspx?ID_Cliente=")+Request.QueryString ("ID_Cliente").trim.tostring()%>'>Equipamentos</asp:HyperLink>...
I have a case where i want to submit a form and get the response from this submit, because based on this response "at least submit complete response" i will make some other logic.
What makes my case is different that this form is on a domain and i am submitting it to another domain name so can't use ajax submit due to cross script secur...
Hi,
I have an ASP SqlDataSource connected to Sybase DB query, using Select Parameters that are populated by a dropdown:
Dropdown (works OK):
<asp:SqlDataSource ID="dsBondIDList" runat="server"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
ProviderName="<%$ ConnectionStrings:ConnectionString.ProviderName %>"
...
I have a button on my MasterPage and I want the ContentPage to handle the Click event of the button. Here's what I have so far:
//Event in MasterPage
public event EventHandler Search_Submit;
//ButtonClick event in MasterPage
protected void SearchButton_Click(object sender, EventArgs e)
{
if (Search_Submit != null)
...
I am receiving long string of checked html checkbox values (Request.Form["mylist"] return Value1,Value2,Value3....) on the form post in ASP.NET 2.0 page.
Now I simply want to loop these but I don't know what is the best practice to loop this array of string. I am trying to do something like this:
foreach (string Item in Request.Form["...
I am trying to use the following code: I get a corrupted zip file. Why?
The file names seem OK. Perhaps they are not relative names, and that's the problem?
private void trySharpZipLib(ArrayList filesToInclude)
{
// Response header
Response.Clear();
Response.ClearHeaders();
Response.Cache.SetCa...
Hello,
I've created an asp.net user control and I am trying to add logic to the user control's constructor. When I added the constructor to the user control I received an error telling me there were duplicate constructors. I'm assuming asp.net is creating one for me and then creating mine separately. How do I add logic to my User contro...
I would like to be able to use the same Session variable when transferring to another app.
Does Response.Redirect use the same session or start a new one?
I am using c#, aspnet 3.5
...
like the MVC Framework provided by MS to create folder structure?
...
I am writing some Utility code to send off emails Async.
var mailClient = new SmtpClient(smtpHost);
mailClient.SendCompleted += new SendCompletedEventHandler(mailClient_SendCompleted);
using (var mailMessage = new MailMessage())
{
if (!((System.Web.UI.Page)HttpContext.Current.CurrentHandler).IsAsync)
{
// set to Async?...
About five years ago I started using Generic lookup Tables for applications I was developing. I know, I can hear the sighs and your fists pounding against your desks, but it has proven to cut development time dramatically. If you want a recap, and a strong voice against lookup tables, Jake Christian does a good job summarizing it here:
...
Sorry if the post title wasn't clear, I will try to explain a little better here.
I am working with a web control that is databound to a data table. The output of the data is as such:
<asp:Repeater ID="RssRepeater" Visible="false" EnableViewState="false" runat="server">
<asp:literal ID="sb_description" Text='<%# DataBinder.Eval (Co...