asp.net

What are some good SQL Server 2008 w/ ASP.NET Website Hosting Providers?

What are some of the Hosting Providers out there that support SQL Server 2008 and ASP.NET 2.0/3.5? I am already aware of DiscountASP.NET (I host my blog with them), but I'm wondering if there are any other good hosting companies. GoDaddy hosting is good too, but they don't support SQL 2008 yet. Also, I'm open to finding Shared, Dedicat...

Evaluating Sharepoint vs ASP.NET as a development platform

I am evaluating Sharepoint (not MOSS) vs ASP.NET as a development platform for an upcoming solution for our team. We will be developing a solution for broad (we hope) deployment across a variety of environments. I am identifying categories to evaluate pros / cons for each platform choice. I have picked categories that are applicable ...

ASP.NET Fileupload and AJAX

I have a little problem with the FileUpload and uploadpanels. As most of you probably knows you cannot use the asp:FileUpload control without forcing a postback. At least not what I know of, let me know if I am wrong. Now my problem is: I have a usercontrol with a FileUpload and a button that says "Upload". This UserControl is loaded i...

ASP.NET Get Original Text of Label

Is there any way to get the original text from a Asp:Label on a page, after the text has been altered? with the orginal text i mean the text that is hard coded into the asp.net markup. ...

How to display a datagrid in a new window (using callprint) but with CSS formatting?

Datagrid displays in new window with the javascript function callprint but losers all css formatting. Is there a way to fix this? ...

HttpContext.Current.Request.ApplicationPath resolved as "/" on develp server

Hi to all, to get some images' path server side i use HttpContext.Current.Request.ApplicationPath to build up a correct path. It works on the production environment, but it gets resolved as "/" on the developement / debug server provided by VS2008. Any Help? ...

How do i get rid of __o is not declared?

I have some code in my master page that sets up a a hyperlink with some context sensitive information <%If Not IsNothing(Profile.ClientID) Then%> <span class="menu-nav"> <a target="_blank" href= "http://b/x.aspx?ClientID=&lt;%=Profile.ClientID.ToString()%&gt;&amp;Initials=&lt;%=Session("Initials")%&gt;" > Send ...

Sending Event from a Page to its Master Page in ASP.NET

Hello, How do I raise an event in a content page that its master page can then respond to? For example, I have a content page which is using a master page. The master page contains the website navigation bar. Depending on the page I'm on, I'd like to send an event to the master page to change the CSS class of the current page menu item...

How to study for Microsoft exam 70-564: asp.net 3.5?

On the official page for the exam there is no mention of any books. Does anyone know when any will come available? ...

RadGrid losing track of current Edit Item after insert operation on DataSource

I have a RadGrid bound to a LinqDataSource. The grid has auto generated Edit and Delete columns. It displays a simple table without any hierarchical organization. I am taking the following steps. Populate a RadGrid using a LinqDataSource Click Edit on the last row of the grid From another control on the page, update the linqdatasourc...

Error regarding selection of calendar in different versions of IE

hi guys, I am running .Net application in which i can select a calender(ajax) in IE6 but not possible in IE7. how can I correct it in IE7 ...

asp.net postback with jquery?

Hi there, Can anyone help, I have a asp.net button but recently replaced it with a standard html button ... What i need to do is postback to an asp.net page and ensure a method is called the button before was an asp.net button so i had this event Protected Sub btnCancelar_Click(ByVal sender As Object, ByVal e As System.EventArgs) ...

Asp.Net LinkButton Onclick = method( container.dataitem ), need help with syntax

I have a linkbutton that I want to call a method in the code behind. The method takes a parameter of which I need to stick in a container.dataitem. I know the container.dataitem syntax is correct because I use it in other controls. What I don't know is how to user it a parameter for a method. Upon clicking on the button, the method shoul...

Index out of range error when using row.FindControl inside a Asp.net Gridview rowcommand event with Paging Enabled

The following code works great on Page 1 of data inside an Asp.net Gridview control: If e.CommandName = "Void" Then 'Read the status of the ticket currently Dim RowIndex As Integer = CInt(e.CommandArgument) Dim row As GridViewRow = grdTradeTickets.Rows(RowIndex) Dim lblTransactionID As Label = Dire...

ASP.NET - cant GetType() of MasterPage

I have a MasterPage and get its type as follows: No problem, this works Now, when I create an aspx page and try the same thing I get null: Why? How can I get this to work? NOTE The answers below say I need to reference an Assembly. But how do I do that when I am running this application as an ASP.NET website - there are on comp...

How to find out size of ASP.NET session, when there are non-serializable objects in it?

I have a feeling that I'm putting rather much data in my ASP.NET session, but I've no idea how much and if I should be concerned. I found a similar question, but that relies on serializing objects and checking their serialized size. In my case the majority of data in the session is in objects from another library which doesn't have its c...

__doPostback - calling code behind events from JavaScript?

I wish to call a method in my code behind from JavaScript, I sort of know how to do it.. I must call __DoPostBack passing name of control and parameters.. But what if an event doesn't exist i.e. NO CONTROL. Really what i am trying to do is call an event.. but the event doesn't exist as there is no control associated with it.. I sort of...

ASP.NET LoginView

I am having problems using a LoginView for what I need. Can somebody tell me if I can do this in a LoginView (and how) or if I need to use code-behind. I have two roles - Administrator and User. I want to dynamically display links based on the role. I will write out what I want in an if statement because it's easier to explain: if (...

visual studio team suite : How to web test programmatically?

Good day, I'm new to Visual Studio 2005 Team Suite web testing. Here's the action i'm trying to achieve. On a webpage, I have a dropdownlist that is populated from a simple database table. In my tests, I want to click on each items of the dynamically populated dropdownlist, and after the postback, check if a label is visible on the pag...

Prerequisite knowledge for ASP.NET MVC

After being frustrated in my attempts to learn the arcana that is ASP.NET, I decided to try ASP.NET MVC. I have extensive experience with C# 2.0 doing just about everything (WinForms, Windows Services, remoting, ...) except ASP.NET . I've been writing PHP for even longer than I've been coding .NET. With all of this experience, I thought...