Hi..
I'm Having some trouble using the ASP.NET AJAX File Uploader..
I always get either:
Unhandled Exception: Access is Denied
or
Unhandled Exception: The File Attached is Invalid
To give you some background i'm working on .NET 4.0 and using the Ajax toolkit dll
To get to this state all i have done is dragged a script manager onto...
When I execute the following code to delete and move a file my worker process hangs:
File.Delete(FullSourceFilePath);
File.Move(FullTempFilePath, FullSourceFilePath);
// update db
Data.AdminUpdateFileSizeandBitrate(FileId, SizeInbytes, Bitrate);
Response.Redirect("?m=File replaced!");
The folder FullSourceFilePath has more than 15000 ...
cant read http custome header "MSISDN" from my web service ... same code works on regular asp.net page. Can anyone shade a light on that subject ?
public CellulupResponse parseRequest(string requestString)
{
CellulupResponse response = new CellulupResponse();
UserIDType userType = UserIDType.MSISDN;
// Get The HttpReq...
Hi,
We are building a financial web application which requires a real time chart. Initially an empty chart will be shown to the customer with X-Axis from 08:00 to 18:00 with a gap of 2 hours, i.e 6 points. The Y-axis should be adjusted based on the price between these timings. Now, from 08:00 the client(browser) will send a JSON/Ajax re...
Given a time:
1286294501433
Which represents milliseconds passed since 1970, how do we convert this to a DateTime data type? EG:
transactionTime = "1286294501433";
UInt64 intTransTime = UInt64.Parse(transactionTime);
DateTime transactionActualDate = DateTime.Parse(intTransTime.ToString());
Throws:
String was not recognized ...
I have a series of link buttons in a repeater that switch pages
<asp:Repeater ID="rptPageLinks" runat="server"><ItemTemplate>
<asp:LinkButton ID="lnkNewPage" runat="server" Text='<%# Eval("Page") %>'
OnCommand="SomeEventHandler" CommandArgument='<%# Eval("Page") %>' CommandName="Redirect"
OnClientClick="return confirm('Do yo...
Hi I am using IE7 and IE8 browser for running web appliction. I have login in the web application go on the next page. if have copy the url of the next page, and open new browser and paste url, then open directly next page. I mean my form authentication is not working. please help how to handle this issue.
...
I have two frames in silver light application
one frame contain treeview control. I want that when my user click on treeview node then aspx page is load on next frame.
how can i achive it..
...
I've got this field in my database year_start_1 and it is an integer field and an example of an ouput is 20100827 I'm trying to create a substring to create year, week, day and change the format to be 27/08/2010
Here's what i'm trying
Dim query as String = "Select * from openquery (devbook, 'SELECT cast(year_start_1 as varchar(8)) as ...
Please tell programatically how to avoid session sharing in web application using IE8
...
In a nutshell:
Whenever a postback would occur (AJAX'ed by an UpdatePanel) I want to do a callback beforehand and only after the callback has completed (either successfully or not) should the postback occur. How can I do this?
Elaborate explanation:
We use ASP.NET AJAX (UpdatePanel 'n stuff) together with DevExpress controls. Among th...
hi,
i am using my usercontrol in Updatepanel.
i think thats why it is giving me error
Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are when the response is modified by calls to Response.Write(), response filte...
We have a production site using ASP.NET built in membership. Now we wan't to extend the tables with some custom properties so we built a custom membership provider using ADO.Net entities.
Everything is working fine, we can create new users and the login controls are also working. We imported every existing user from the aspnet_Membershi...
I have a form where users can subscribe and unsubcribe to my email list. so far, i have the subscribe button working fine "add member" function. Now i need help with my "delete member " function (unsubscribe button). it will allows the user to delete their record from the database. When I run the code and click the "unsubscribe" button, ...
I have a asp.net page (page1.aspx), inside that I have a iframe, Inside the iframe I am loading another page(page2.aspx). Inside that page(page2.aspx) I have a button. When I click on that button jqModal pops up. It comes up covering the iframe which is in page2.aspx. How can i make the jqModal div to allocate parent page(page1.aspx) ful...
I've tried to write my own HttpModule (IHttpModule) that adds a Header like that:
public class MyModule: IHttpModule
{
public void Init(HttpApplication c)
{
c.BeginRequest += delegate{c.Response.AddHeader("MyHeader", "MyValue");};
}
public void Dispose(){}
}
and tried to read in a aspx page like that:
var x ...
I keep coming accross code samples online for ASP.net c#, however they never seem to list which namespaces they include, for example:
using System.Data.SqlClient;
etc etc
Am I missing something obvious or should I be expected to know exactly what namespaces each code example requires?
...
What is the easiest way to include a tooltip in the gridView column?
For example in this column
<asp:BoundField DataField="short_comment" HeaderText="Comments" ReadOnly="True" SortExpression="short_comment"/>
I would like to have something like
<asp:BoundField DataField="short_comment" ToolTipDataField="longer_comment"/>
Obviousl...
Hi new to spark so this should be simple.
I'm converting an old webfoms page to mvc using spark.
I want to use the Base.Application to make up the src of a url
original markup
<img alt="" src="<%= Base.ApplicationPath %>images/screenshots/myImage.jpg" />
I've tried this in spark
<img alt= src=${ Base.ApplicationPath }+">images/scr...
I have an ASP.NET application that consumes a lot of memory. Therefore I want to use the Debug Diagnostic Tool to try to search if there might be a leak or something else.
In DebugDiag on the process tab I right click the w3wp.exe process and the only options I get are:
Terminate process
Copy
Only on some processes I get more op...