asp.net

Extender controls must be registered using RegisterExtenderControl() before calling RegisterScriptDescriptors()

I am trying to deploy a web application built with Dotnetnuke. There is an DNN Control/ASCX having a MultiView and few AjaxToolkit Controls like AutoComplete, ModalPopup. In Views other (plain) ASCXs are included and some of which have UpdatePanel. On the developer machine (WinXp / ASP.NET Web Server) there is no error...but when I try ...

Populate ListView with data from server

Hi, I have a ListView on my checkout page with an ItemTemplate which build up a table of items ordered by customer. I want to add a total in the footer of the table, I have the following markup: <asp:ListView ID="lvOrderSummary" runat="server"> <LayoutTemplate> <table id="tblOrderSummary"> <tr> <td><b>Title</b></td...

Looping through controls

Hi, In my code I need to loop through the controls in a GroupBox and process the control only if it a ComboBox. I am using the code: foreach (System.Windows.Forms.Control grpbxChild in this.gpbx.Controls) { if (grpbxChild.GetType().Name.Trim() == "ComboBox") { // Process here } } My question is: Instead of looping...

Retreive an image from SQL Server to show it in an ASP.NET app

Hello! I want to retrieve an image from SQL Server to show it in an ASP.NET app. I think that I can write down the image retrieved from SQL Server to a server's folder and show it throw its path. Is there any other better way? I have the same problem with audio and video files (can I use silverlight to play these audio and video files?...

Optional validation in ASP.NET

I have a page with three radio buttons, depending on which button is selected I need to validate some controls (using required field validators). Other than using custom validators, is there any way to do this? Thanks ...

web.config ignoring certain files from requiring authentication

In my asp.net web application, I have a folder in which I have a few html and jpeg files. some of these files do not need a user to login while the others do. How do I exclude the files that are free for view to be displayed without logging in while still maintaining the user to login for viewing other files in the same folder using just...

How to load a js file with javascript

I want to get over a nasty problem that shows up yesterday during a demo to a client. We're using jquery, loading it from google api. But yesterday, our ISP begin to cause some problems, and didn't load jq.js properly. So, what I really want is to load a local file from the server if google api has an extrange behaviour (not that it's ...

problem with css file

hi...all I'm having problem with themems. I have app_themes folder in my application that have a mytheme folder.In that folder I hvae placed a css file. I have used this theme thruoghout the application. using the web config file....follwing is the code. <System.web> <pages theme="mytheme"></pages> </System.web> it's worikng fine....

How to get data from dynmically created Treeview.

I am using ComponentArt Third party controls for ASP.NET 2.0. Here is the problem i am facing. I created some ComponentArt.Web.UI.TreeView at runtime on Page_Load. Now at click event of a button, i want to get values of the selected nodes in the treeview. Can someone help ....! ...

migratordotnet - Run migrations from within application (w/o nant or build)

Hello, is there a way to run migrations from within the application itself? Thanks! ...

How to get the grand parent and great grand parent of xml node

any node above the current node in an hierarchical tree example the parent,grandparent,great-grandparent or the rot node are all ancestors of anode within an xml How might I get the grand parent and great grand parent of a current node xml. I'm using VB.Net in an ASP.NET application. thank wow answers are beautiful can i have somethi...

Using of asp page with Master Page

Can we use asp page with master page in asp.net ...

how do you refresh references in ASP.NET applications without visual studio?

I have an ASP.NET application which relies on an external assembly which is not in the GAC. The app has a .refresh file which copies the assembly into the bin directory when the app is compiled. When I install the app on a production server (by copying the app files into a virtual directory), the bin directory is not updated automatical...

DataFormatString in my Gridview does not work in SharePoint

I have a ASP.NET GridView that i created on a page through SharePoint Designer 2007. For some reason it just does not want to work, why is that and how can i Fix it? Funny thing, it worked on another SharePoint Server but not on the one i am working on now, so i know my code is fine, it must be something ells on the SharePoint Server ma...

Bug in Label ASP.ViewState implementation?

EDIT 2: Well, I went to the code. Note what they are doing here. They are saying load viewstate, and then turning around and setting the Text property to what was in the viewstate. After LoadViewState is called though viewstate tracking is on, and that results in the behavior I'm seeing. I think what the code should say is: if (s != Tex...

ASP.Net MVC - Dynamic Style Sheet

I would like to let a user select the back ground colour for a website and save the selected colour in a database. When the person logs in the background correct colour will be displayed. Based on the following website, I am able to set the colour within the CssHandler.ashx. But, I'm not sure the best way to get the information from the...

How to get the grand last child and great grand child last of xml node

can i have something like XmlNode greatGrandParent = myNode.ParentNode.ParentNode.ParentNode.lastchild.lastchild ...

1 web application shared by 2 IIS sites?

IS this possible? Basically, I want to point both sites to the same folder in IIS. If this is possible what are the dangers. Daniel ...

Column does not exists in datasouruce problem when binding SubSonic collection to dropdown.

I've a table with Primary Key with _ (underscore) in its name like: User_Id. When SubSonic generates DAL it removes underscores. Now I'm binding the object collection to DropDownList like follows: private void LoadCbo() { UserCollection users=(new UserCollection()).Load(); User u=new User(){ UserId=-1, Name="[Sel...

culture name is not supported

I'm receiving "culture name 'uploads' is not supported" when my asp.net app start. Where I have to view/debug to toggle the error? A full-text for "uploads" returns o entries in my project ...