I have enabled trace in web.config which shows any error occur in my application on production by accessing trace.axd page. It shows very useful information.
My question is where trace.axd page retreive data so I can use some of the information on my gridview to organize it.
I have an infragistics stack chart to which I am giving data table as data source.I am populating time quantity value as its Y- axis and time slot value (a particular time period) as its X- axis.
What my problem is I want to show tooltip as in time format. But currently I am unable to do this because the chart accept only numeric values.Do anybody have a solution to show tooltip in a formatted way?
(means I want to show tooltip as 1:12 when the y axis value is 72)
This is very frustraiting because I have read a thousand posts on this and nothing works. I have a gridview which is programatically bound to a dataset which is created from dataset.readxml(xdocument.createreader). The table gets created without issue.
I have allow sorting set to true. when i click the sorting linkbutton I get the event handler error. So i create an empty event handler and that doesn't give me an error but also accomplishes nothing. So I searched and searched and found that i need to call the gridview.sort method to programmatically sort in the event handler. So when i do this
i get stackoverflow error. it creates an infinate loop. none of the 20 or so posts out there seem to answer how to handle this. They say that this method is the way to call sorting.
below is my event handler
[Code]....
the behaviour is that the event handler fires and executes to the sorting line which in turn refires the event handler.
System.NullReferenceException Object reference not set to an instance of an object. at ChooseTime_aspx.Page_Load(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
based on a recent article on MySpace blaming the microsoft stack not being able to easily scale here.Is this true? Is scaling an app built on the microsoft stack (asp.net mvc here) nearly impossible? does php/LAMP really scale better than microsoft?
we are getting a stack overflow in production ~ 2-4 times / dayWe cannot reproduce this is in dev environment, nad given this is a web app with probably ~100 concurrent users at any one time, I'm struggling to work out how best to track this down.Is there anyway to get any more info from event viewer - happy to install some form of listener tool - even if i can just get teh thread identity (set to the current user) that'll help - although the dll + class / function woudl be great!
On this site if you do too many clicks or post comments too fast or something like that you get redirected to the "are you a human" screen. Does anybody know how to do something similar?
I'm using ASP.NET for a search app web site.My search retrieves exactly one result per fetch. Once the search is complete and the user selects "Update", a new result is fetched and the old result is written to the ViewState as a generic List. The new result replaces the old one.I am trying to get the page to update (via partial post-back), so that the old result drops down the screen and the new result sits on top of it. Much like the concept of a stack.
How would you implement a user message stack in ASP.Net MVC? (you set messages for the user in any place inside your app. and they are shown as hints of your app to the user anywhere inside the app)
I have used a MaintainScrollPositionOnPostBack = true function in 2.0 but is giving a stack overflow at line 0 error. What is the fix to this. I understand that it is a bug in IE.
I have a remoting-type set up within my application where I avoid TargetInvocationExceptions and grab the inner exception. I invoke the internal PrepForRemoting method on the Exception class to preserve the stack trace from the invoked method.
This appears to construct the stack trace property correctly:
[code]....
Calling Server.GetLastError(); on Application_Error in Global.asax shows the correct stack trace. Where is the yellow screen stack trace coming from?
RepeaterItemEventArgs e) at System.Web.UI.WebControls.Repeater.CreateControlHierarchy(Boolean useDataSource) at System.Web.UI.WebControls.Repeater.OnDataBinding(EventArgs e) at _Default.up1_Load() [code]...
is it happening in the Repeater1_ItemDataBound sub routine, or in the Timer1_Tick sub routine? Is the last thing that happened before the error occured at the top or bottom of the trace?
Define Generic in one line / I know that List<string>, Stack<string>, Queue<string>, Dictionary<string,string> & linkedList<string> alls are generic but i want to know its one Line
I'm reading about URL routing at How to: Define Routes for Web Forms Applications and there's something in the example I don't understand. If you look at the example provided below,
I want to define a DataList in the code behind but i don't know how to do it.
I just just know how to do it in the ASP.NET:
Data Source DataList
<asp:AccessDataSource ID="adsExample" runat="server" DataFile="~/MyDatabase.mdb" SelectCommand="SELECT Best4.[Year], Countries.Flag, Countries.ENAME AS Champion FROM (Best4 INNER JOIN Champions ON Best4.CHID=Champions.CHID) INNER JOIN Countries ON Champions.CountryID=Countries.CountryID ORDER BY Best4.[Year];"> </asp:AccessDataSource> DataList <asp:DataList ID="DataList1" runat="server" DataSourceID="adsExample">..........
When i am running my Visual Web Developper, the result is a list of x numbers of three values:
Let's say I asked Microsoft to describe the perfect, modern, Microsoft-based technology stack to power a standard e-commerce web site, which perhaps has a simple 2-tier web/database architecture. What would it be like? Yes, I'm just looking for a list of product / technology names.
For example, in the J2EE world, I might describe a stack that includes:
J2EE 6 standard JavaServer Faces Glassfish 3 MySQL 5.1.x
I'm guessing this stack includes some combination of .NET, SQL Server, ASP.NET, IIS, etc. but I am not familiar with this world. Looking for ideas on the equivalent in Microsoft-land.