asp.net

how to use httphandler class to change SOAP namespace?

REF: http://stackoverflow.com/questions/4008703/creating-a-soap-proxy/4016687#4016687 How do I use HttpHandlers to create a proxy and change a SOAP request and response namespace? Example...change this (1 line) <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http:/...

Clicking "X" on the ASP.NET popup event

Good day I'm stuck with the question, simple at first glance Which event raises when we close ASP.NET popup window by clicking "x" in the top right corner? Thanks in advance. ...

Problem setting a property on an Asp.Net custom dropdownlist

I'm trying to set a property on a custom DropDownList: <custom:ReferenceDropDownList ... ValidityDate="<%# Application.CreateDate %>" /> Even though I can see that Application.CreateDate has been set in the Page_Load method on the containing UserControl, the code-behind in the DDL never seems to pick it up. protected override void On...

How to display images from a folder in a gridview?

How to display images from a folder in a gridview whose path is stored in ms sql database? ...

Need to restart IIS 7 after fuill web deployment

Hi, I would just like to find out which is the best practice when deploying to IIS 7 with ASP.Net 2 applications. We deploy around 7 WCF net.tcp consumed web services on IIS 7 and then also have a website running under IIS 7. When we deploy with TFS we copy over the released code to the specified folders under IIS. Would the best prac...

How to display a popup message at the time of page closing

Using ASP.Net, VB.Net When i close or exit the page, it should show the pop up message like "page closing" Need code help ...

How to attach the file

Using ASP.Net, VB.Net In my web page, i want to attach the file. How to attach the file Need code help ...

Button Click Event Won't Return Value to Textbox

Hi, I have two buttons on my web form. When clicking on the first button, the event does not fire. Here's what I've placed in the click event handler: protected void btnRFC_Click(object sender, EventArgs e) { string strDOB = drpDay.SelectedValue + "/" + drpmonth.SelectedValue + "/" + txtyear.Text; string strRFC = CURPRFC.Calc...

if ($.browser.msie) not working+ie6

I have master in my project.i have added js file in my master page.so that i can able to call the function in my content pages.My problem is when i am using this function ""if(!$.browser.msie){alert("Not ie Browser");}"" not working in ie6.In ie6 it is showing alert("Not ie Browser") all the time when the page load happens?Can i get some...

Intel applications

Hi i want to know how many applications are available in Intel AppUp Developer Program .Thanks for ur answer in Advance ...

How to send the web page values to the emai

Using ASP.Net, VB.Net In my web page, i have the textbox values when i press the send button the textbox value automatically send to email address... How to do that... Need Code Help ...

Which event to add programmatic parameter to sqldatasource in asp.net vb

I am trying to add a selectparameter to my sqldatasource (SqlDS) using this code: SqlDS.SelectParameters.Add(New Parameter("@approver", Data.DbType.String, "approved")) The error I keep getting is System.Data.SqlClient.SqlException: Must declare the variable '@approver'. Is there a specific event I need to use this code within? Than...

Question about inline aspx tags

I have this div that's got a style attribute..In that I am setting it's background image by calling a function from code behind.. <div id="id1" style = "background-image: url(<%=GetImage()%>);"></div> now when I add runat="server" attribute in this div..it shows the Image path as method name itself and not http://localhost/myweb/image...

Calling an ASP.Net function from javascript

Is it possible to call a C# function in my codebehind from javascript? ...

Display message afer save is successful BlockUI Update Panel.

I want to display a status message after a server side postback. Currently to do this, I use blockUI for blocking a div while the save is in progress I unblock the div with a custom End request handler for my update panel To display status messages, I use scriptmanager's registerstartupscript() in my try catch block on server side code...

Filling JQGrid Searchoption values dynamically

In my colModel I have defined that one of my columns will have a drop down filter in the filter toolbar. I use ASP.NET Webforms and a webservice webmethod I have tried to use dataUrl for this and it works with a static HTML page. However I need to use a call to my webservice, which I can't get working. searchoptions: { dataUrl: 'WebSe...

Sending ICalendar event to client while still continue running your code.

Hi everyone, i have built a basic calendar event using DDay.iCal, when I click "Add to calendar" link I produce an event and then sends this to the client. I basic my application works like this. A User logs in. Selects a specific date. Books a specific timeslot Clicks the "Add to calendar" link Sending the event is done by using Re...

How to change the default color picker popup looks in Ajax Toolkit ?

I am using the Ajax Toolkit for color picker. Default color picker just gives the tabular structure; i would like to extend/modify toolkits color picker popup with text box and the color code as shown in the second example below. Color Picker Can some one please help me how that can me done ? Thanks ...

How can i get all files without file extension into an array.

How can i get all files without file extension into an array. I will supply the folder path. Is this possible using Directory.GetFiles() or DirectoryInfo.GetFiles()?? Is there any alternative way? I am using ASP.NET C#. ...

EF4 error: Unable to load the specified metadata resource

Hi, I have just deployed my ASP.NET MVC 2 application using EF 4 and I am getting the following error: Unable to load the specified metadata resource. On my local machine it runs fine with no errors. This error only comes now when I deployed to the server. I have my enity data model file in MyProject.EntityModel. I used the POCO e...