This problem is driving me absolutely crazy. I developed a very simple Web part and overrode the CreateChildControls to load a user control. The user control contains a ScriptManager and UpdatePanel from System.Web.Extensions. This Web part appeared to be working fine for weeks and all of a sudden today I get the error:
I have a gridview with 2 columns. the first column is a textbox an the other column depending of some conditions (it may be dropdownlist, textbox or checkbox column)
I am fresh to asp.net. I m using vb to write it. Could someone who is professional guide me? I want to input data from textbox to "unknown size" array or arraylist, and bind it to gridview. I have more than 1 data to input. Do i need to use loop to bind?
I'm pretty new at ASP .NET but not to ASP. I've got a form I need to create where I don't know how many entries will be added. It has the following format:
"Age" "Duration" "Period of Duration" "etc..."
Last30Days
1-5 Months ago
6-11 Months ago
Age
Age
Age
etc.
So the Age column always has the first 3 options and then an unknown number of Age values that can be inserted. I've created a table that has the first four fields (Last30days, 1-5months, 6-11months, age) and I was thinking I could just order by those 4 columns for display. The problem I have is I'm not sure on how to proceed. Does anyone have any good ideas on how to handle this situation? Ideally data entry people could use the same form for both entering and displaying the data.
I'm building a dynamic form using XML and XSLT. Anyway I'm using a custom asp.net control for CKEditor, it's an HTML editor.
When I try to add the controls from the XSLT using Page.ParseControl(<the-string-from-the-xslt-here>), I get a warning saying:
Unknown server tag 'FCKeditor.CKEditor'
And of course, if I remove the control from the XSLT everything is working fine and all the regular asp.net controls like TextBox etc get rendered to the string just fine. Does anyone know what I can do about it?
I've recently downloaded Ajax Control Toolkit to use with my ASP.NET web app.I added the AsyncFileUpload control to a web form but when I try to run the application,I get an error :
I should probably post this question to a different forum but I've had such good luck on this one, I hate to leave...I have an SQLDataSource which has a concatenated field of FirstName + ' " + LastName AS FullName. That datasource is used to populate a Primary Contact combobox in the GridView based on the dsOrganizations datasource. ComboBox datasource = dsContacts, TextField = FullName, ValueField = ContactID, ValueType = Int32 nfortunately, not all the Organizations have Primary Contacts listed yet so the above substitution breaks and doesn't even show the Primary Contacts when they existWhat I need is someway to either leave the Primary Contact row blank in the DataGrid or replace it with "[none selected]"
I have a user control with both an UpdatePanel and a ScriptManager.
Some pages in the system have a ScriptManager of their own, and need to include the UserControl.
This throws the "You can only have 1 ScriptManager" exception.
If I remove UserControl's ScriptManager, I'll get 'UpdatePanel1 requires a Script Manager" exception.
I've tried to modify the UserControl to dynamically include it's own script manager if none exists. But all the methods I've used before involve adding a delegate to Page.OnInit-- which won't work, since the UserControl Init fires first.
Because the system designers here like making my life difficult, I can't create a MasterPage, or a BasePage for the system in inherit off of. I'd be stuck going to each page an adding a ScriptManager before the UserControl on each of them. Is there any way of, in the UserControl, detecting if the page has a ScriptManager, and if not, adding it dynamically in a way that makes the UpdatePanel happy?
I keep getting a db parser error. I took it from my text book assignment. Here is the error and code: I am confused with the problem
Server Error in '/' Application.
Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. Parser Error Message: Unknown server tag 'asp:ControlParameters'.
I don't know what is going on. When I try to add a tab container in my page, it allows me to do that but when I modify the code, the unknown server tag error pops up in the design view of the page.
I checked the source code to see if I had my @register clause in there, and it was there, but still the error shows. I don't know what happened, the last time it worked perfectly.
I have also recently downloaded the cute editor for .net and installed the .dlls to my bin folder and it is showing the same simtoms as well.
I have a web site project. My project contains two files Web.config. One. The configuration file in the root directory, the second child in the directory(see below).All pages in the root directory work fine, but all the pages from the catalog of the child doesn't working. I receive error "Unknown server tag ''Compon##:Calendar""
I just installed Ajax Toolkit. The controls are available in my Toolbox, but when I insert them in a page, Visual Studio underlines them with the error message "unknown server tag".
I googled the problem and found several ideas :
check if the DLL is in Bin folder check if ajaxToolKit tags prefix is registered in web.config and make sure I'm not using a different prefix in my pages check if the DLL is registered in the pages with <% @ Register ... %>
Unfortunately all of this is fine, but I still can't get the controls to work. Is something else missing ?
EDIT : My environment is ASP.Net 2.0, Ajax Extensions 1.0, Ajax Toolkit 1.0.20229, Visual Studio 2005
I have a stored procedure, which I'm calling from ASP.Net application. I'm facing a problem in stored procedure when comparing values.Please check code below to get further details.
Stored Procedure: ALTER PROCEDURE [dbo].[MyStoredProcedure] (@ItemID nvarchar(50), @Weight1 float, @Weight2 float) -- check remaining/available weight in items table DECLARE @RemainingWeight float SET @RemainingWeight = (SELECT RemainingWeight FROM items WHERE ItemID = @ItemID) [code]...
I have got an error "server response error : Unknown server error" while uploading file using Ajax AsyncFileUpload, code behind function is triggered while uploading, but after code behind function executed, we are getting this error.
Am getting this error on clicking any of my page link.
Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 0"
PRB .NET User controls is considered published by an "Unknown Publisher" from my ASP.NET pages.We have a .NET User conrol, based off the UserControl class and coupled with the IObjectSafety interface that generates a "Unkown Publisher" warning message when our control is deployed from our ASP.NET applications. The warning pops up as a dialog from the browser, asking the user if they want to install our control, saying that it is from an "Unknown Publisher".1) Our <OBJECT> tag is scripted correctly in our page as such: