We have two update panels on our webpage. Now first update panel is having button cancel. While second update panel is having a file upload control.
Now if the user uploads a file that is going to upload in about 2 mins, and in between, say after 30 seconds the user clicks the cancel button, the upload taking place in update panel 2 sho...
I have an updatepanel that inside it I have a dropdownlist control with postback enable when the user click on that dropdownlist AjaxEditor's value must change but error happend it says "Error: Sys.WebForms.PageRequestManagerServerErrorException: Input string was not in a correct format"
<asp:DropDownList ID=...
Hello..
I have a service method
<WebMethod()> _
Public Function placeOrder(ByVal name As String, ByVal surname As String, ByVal phone As String, ByVal address As String, ByVal pid As Integer, ByVal items As Integer) As String
which places the order and assigns it an ID...
If the order fails for some reason (no availability,etc,...
My site worked perfectly fine.
When I restarted IIS (for some scenarios check) - It stopped working, and gave me a page telling me to check the event viewer, there I get the following error:
aspnet_wp.exe could not be started. The error code for the failure is C0000142. This error can be caused when the worker process account has ins...
Is there an equivalent to the new ASP.NET razor syntax in PHP?
...
select day using the drop down list
select the start date using calender (causes an event), a table is made having the dates of the day selected from the start date and shown to the user.
the table also contains checkbox for each row in a cell
the user selects the check boxes he wants
and clicks the button
the button calls the method in...
I have two combo and one button. child combo fill on basis of parent combo key value. click on parent combo value will change on child combo,click on button show those combo selected text.I can do it bellow in my syntax.i use north wind database.
<div>
<dx:ASPxComboBox ID="ASPxComboBoxParent" runat="server" AutoPostBack="Tr...
Is it possible to call server side methods? (with postback)
This will post back as if I clicked the button1.
var prm = Sys.WebForms.PageRequestManager.getInstance();
prm._doPostBack('Button1', '');
The problem with that, is that I need a button on the page.
I know I can use static webmethod, but I want to know if it's possible t...
I have a problem with getting selected objectfrom my list.
I bind collection of users to dropdownlist by:
ddlContractors.DataSource = service.GetAllUsers();
ddlContractors.DataTextField = "Name";
ddlContractors.DataValueField = "Id";
ddlContractors.DataBind();
It's working.
But when I...
Is it possible to add a new object that Ninject should be responsible for (lifetime, injection etc.) in an ASP.NET application after the Application_Started event is fired?
My application needs to dynamically designate objects that should be tracked well after the application is started
...
I'm using Asp.NET 4 with Ajax Client Templates for my homepage.
The homepage generates a galley of pictures. Each picture has name ,description and additional details.
My problem is that client templates seems to be very bad for SEO.
This is because Google/yahoo bots see the page before templates load any data (images with description...
I'm not so much into JavaScript, so I'm not able to use the new CKEditor right away. Until now I was using the FCKEditor ASP.net wrapper, which works fine for me. Unfortunatly the official wrapper is not for version 3.
I've googled http://syrinxckeditor.codeplex.com/ but the project is over a year old and seems like a beta to me.
Is th...
Does BeginRequest and EndRequest for an ASP.NET HttpApplication always occur on the exact same thread for a given HTTP request from a client?
The reason I ask is that I am seeing some very strange behavior where a ThreadStatic variable is not null inside of an Init method for an IHttpModule.
I set this ThreadStatic variable to a value...
Hello everybody,
I'm having a problem with deploing my solution to Windows Azure.
I've created a basic ASP.NET web role and tried to run that against my local DevFabric and everything is running perfectly. The ASP.NET site is reachable via a browser, I can see the valid results of executed code and everything is perfect.
Later on, I t...
I have the following Extension Method
Imports System.Runtime.CompilerServices
Namespace Extensions
Public Module IntegerExtensions
<Extension()>
Public Function ToCommaDeliminatedNumber(ByVal int As Integer) As String
Dim _input As String = int.ToString
Select Case int
Case I...
I have a repeater that's bound to a data source. I then have users that view this repeater.
What is the best way to create a "new" label next to entries in the repeater that the user has not yet viewed. This scenario isn't like email where its unread until the user clicks on the entry; as there is nothing to click on.
I want it do ...
hi,
in my web.config file i've added an entry:
<httpModules>
<add type="HDI.HTTPFilter" name="HTTPFilter"/>
but the server where i've placed the website on is not reading this entry
but in other servers the site works perfectly.
what the problem might be?
thanks,
yishai
...
i think this has been asked before but i just cannot figure this one out.
I have added a global.asax file to my project (using asp.net with c# from vs2010) and works great on my local machine. then when i publish to our site (i publish to ftp site and then copy from the ftp folder into the site folder overwriting old files) and it doesn'...
Why do I need to pass a username to this method? I just want the url that was redirected from for forms authentication...
FormsAuthentication.GetRedirectUrl
...
I'm having trouble trying to understand what to do here.
My objective isn't as simple as a regular old CRUD form to create a new entity, but rather a browse index page that will list all of the Evaluations in my database.
Each evaluation is attached to a RegisteredCourse which in turn has a Teacher attached to it.
Here is how I'd like...