Been following help video "Get Started with the ASP.NET AJAX Control Toolkit?" and I got as far as adding a Control from the Ajax toolbox but for some reason the control will not add to the form.
In my application i use iframe (to be more specific; Greybox tool). Sometimes i had an unkown error when i open page in iframe. Then i applied this fix : [URL] and that unknown error disseppeared. But i have another problem now:( I am using following script to focus to the first textbox whenever my input pages are opened in iframe.
aField = document.getElementById('txt_PID');setTimeout("aField.focus()", 50); After i applied previous fix, i get this error when i load page in iframe for the first time :
Can't move focus to the control because it is invisible, not enabled, or of type that does not accept focus. Here, txt_PID doesnt contain any ajaxtoolkit things. (also Enabled= true and Visible=true etc.) . Last thing, my current test page contains just 3 controls: txt_PID just plain Asp.TextBox ajaxHTMLEditor another textboxt with MaskedEditExtender. If i remove HTMLEditor from page; i dont get that error( Can't move focus...) and also i dont get first error which i applied that fix in toolkit.
I am writing an ASP.NET custom control.In my custom control code, I find a PlaceHolder control in the page like so:this.myPlaceholder = Page.FindControl("placeholder1") as PlaceHolder Then, I render the placeholder as the output of the custom control:
protected override void Render(HtmlTextWriter output) if (this.myPlaceholder != null) this.myPlaceholder.RenderControl(output);
However, this causes the placeholder to be rendered in two places - in the custom control output (good) and in the original location in the page (bad).
i want to get data from database of field Name and Gender, and then display it in Label name and gender. when i click save it move to next record and display name and gender that next record.
I would like to create a multi-part form that can be used for entering and updating data.
From all of the tutorials it was unclear to me how to read the value of, for example, the text in a text box, so that I can update a database. One of the videos deals with using find control to find the values of controls that are inside item templates. That doesn't seem to be applicable here.
The second question I have is how to populate the value of a textbox or dropdown list from a database.
We have an already existing project on IIS and we want to move to Apache (windows) with mod_aspdotnet. What things could not work? If we use 3rd party DLLs? Will office components work fine (export to Excel, Word, etc). If you have any experience on this type of migration, I'd like your inputs! Also, is there another alternative to mod_aspdotnet?
the login control administer website creates a sqlexpress db, aspnetdb.mdf in the app_data folder under the website project directory. how does the db then get moved to an IIS site where the application will be in a folder under wwwroot. I have a testing IIS installation that I want to move to.
I had someone write a small chat site in ASP.NET and he used a System.Web.UI.WebControls.Literal control to show the text. The new text is added to the bottom and when it does the control is refreshed and you see the top beginning of the text. I need it to move to the button of the control when new text is added. I have searched and cannot find a way to do this. The next is created using the stringbuilder and then assigned to the control with a timer which works well. I just want it to go to the bottom after setting the text.
I have a page with some datasources in it. I am doing reenginering of the page itself and would like to split some parts of the page in several user controls.
In my code I have an ObjectDataSource object with the following params
[code]....
This piece of code automatically bind the hidden field "txtAlbumId" to the datasource. In my revision this datasource should be moved to a user control.
Just started using VS2010. I am not able to move controls, in the CSS styling I checked the "Change position to absolute...." and still I am not able to move controls. Some other set up I missed?
I have a table.Which has 2 columns.The left column has accordion having 25 panes.The right coumn i am having list pane headers as link buttons.when i click the link button the corresponding pane should expand in the center of the screen.I am able to expand the pane.But not in tha center screen.
I am having a requirement where I am using Ajax Tab, I am having 3 tabs. If user select second or 3 rd tab I would like throw an alert saying do you wish to move if yes I would like to move to next tab if not I would like to stay in the current tab...
My sample script is as follows
<script type="text/Javascript> function checkSave() { sSave = window.confirm("You have some changes that have not been saved. Click OK to save now or CANCEL to continue without saving."); if (sSave == true) { var tabIndex = $find("TabContainer1"); //AdvOrBasicSearch is name of tabContainer
I have added 4 CollapsiblePanel programmatically and it is working with IE7 and IE8 but it is not working with IE6 its behaving flashing while expand and collapse and on mouse move to the panel.
I had a working .net website in a working VS2008 environment on a WinXP machine.Moved to Win7 machine, and now this maddening error comes up. I have no clue!Since the site and the development environment were working before, I can only assume it is an environmental problem. But what?