my requirement is like, I had a tab container in a webform, where I had two tab panels, one is for user registration, and another is for getting confirmation from the user, Now I had created the user registraton form, and need to create the user confirmation form, on confirming the user will click submit and an insert stored procedure will gets fired. Now, my main issue is like, which would be the best way, I would like to display the user entered information in the confirmation tab, like, generally, we view some records of data in a details view, using alternate row styles, in that way, I am planning, so which would be the best way, should I create a table and style it or can i use details view or grid view or form view or anything else which u can suggest.
Thing is that the user should view the page in a rich format, well structured and also how to allow the user to edit if required, and which would be the best idea, should I redirect the user back to the first panel or can we edit there itself, on the top right corner, the user should find the edit option, so how should I place it over there. Seems like a big requirement, bt expecting a big hand from you ppl to newbie like me in this technology..
I have a update panel combined with gridview with sorting and paging.
I go into task manager to monitor the memory usage of the worker process (w3wp)
What I do is just click on the sort buttons rapidly.
With each click the memory of the process increases with about 2 mb
So I go from 30 mb memory usage to about 90. Then it stops at remains there, no memory is freed up. I am not using caching or session/application state.
What can be causing this, is there a setting in IIS to reduce the mem usage?
I also used .net profiler to examine my app memory usage: 4 mb, so what is the other 86 used for??? Even though it repots 4mb, in task manager it says 90 mb, so this leads me to believe that the rest is namanaged memory which must be used by IIS in some way.
When iam try to add ajax control dll file to my ajax toolkit given in visualstudio express edition 2005, i am getting the following error.
"There are no components in 'C:ProgramFilesMicrosoft ASP.NETASP.NET 2.0 Ajax Extensionsv1.0.61025AJAXExtensionsToolbox.dll' that can be placed on the toolbox." what is the error in this?
I want to write a program to click a button to save a record. A confirmation window will show up before the record actually save to database. Once confirmed, it will show a modal popup.Here is the code:
[Code]....
The problem is, the Modal Popup shows up before the confirmation windows. Is there any way to control the execution sequence of AJAX controls?
i have a page with some control like update panel and cascading dropdownlist. I have added some asp require validators but it does not working.
I have an asp image button with a postback url set. When i click on this button, the validations does not occurs and the application goes to the next page.
i have used ajax control toolkit masked editor extender.i want to remove "_" from masking pattern and want to replace it with space. for ex. want " - - " instead of this
I'm using a custom AJAX based validation control to check user name availability from database. It's working alright in my development machine but in production server we are using Windows Authentication to authenticate by domain.The control is inherited from base validator and checks for user name availability from database perfectly but on form submission at Page.IsValid check it gives the following error.
remote server returned an error 401 unauthorized
Both the form and webmethod are in the same page/file. I even tried creating webmethod in a separate standalone webservice but error still there.
How to set the focus on textbox when requiredfield validator error mesage comes to action inside the ajax tabcontrol.The ajax tabcontrol is having 5 tabs.The submit button is in 5th tab .I have reqiredfield validator for textbox in 1st tab.I want to set the focus on textbox if validation fails.Is it possible to get without postback?
public partial class AjaxUC : System.Web.UI.UserControl { private ITemplate _content = null; [TemplateInstance(TemplateInstance.Single)] [TemplateContainer(typeof(Container))] [PersistenceMode(PersistenceMode.InnerProperty)] public ITemplate Content { get { return _content; } set { _content = value; } } void Page_Init() { if (_content != null) { Container container = new Container(); _content.InstantiateIn(container); divContent.Controls.Add(container); lblSearchTitle.Text = LblModalSearchText; } } protected void Page_Load(object sender, EventArgs e) { if (hdVisible.Value=="true") { modalSearch.Show(); } } } public class Container : Control, INamingContainer { internal Container() { } }} This control when used on any aspx page will popup the control placed inside the template "divContent" as modalpopup. ________________________________________________________________________ Now I am trying to convert this user control to Custom Control and my code is:-
[ParseChildren(true)] [PersistChildren(true)] public class DNAWebAjaxTool : PlaceHolder { public event EventHandler BtnModalSearchCloseClickEvent; public event EventHandler Click; private ITemplate _content = null; private HtmlInputHidden _hdVisible; private Panel _pnlModalSearchContent; private Panel _pnlModalSearch; private ModalPopupExtender _modalSearch; private Button _btn; private DivContainer divContent = new DivContainer(); private string _viewState; public DNAWebAjaxTool() { } public Panel PnlModalSearchContent { get { if (_pnlModalSearchContent == null) { _pnlModalSearchContent = new Panel(); } return _pnlModalSearchContent; } } public ModalPopupExtender ModalSearch { get { if (_modalSearch == null) { _modalSearch = new ModalPopupExtender(); } return _modalSearch; } } public string ViewState { get { return _viewState; } set { _viewState = value; } } public HtmlInputHidden HdVisible { get { if (_hdVisible == null) { _hdVisible = new HtmlInputHidden(); } return _hdVisible; } } [TemplateInstance(TemplateInstance.Single)] [TemplateContainer(typeof(DivContainer))] [PersistenceMode(PersistenceMode.InnerProperty)] public ITemplate Content { get { return _content; } set { _content = value; } } protected override void OnInit(EventArgs e) { _content.InstantiateIn(divContent); base.Controls.Add(divContent); base.OnInit(e); } protected override void OnLoad(EventArgs e) { if (HdVisible.Value == "true") { ModalSearch.Show(); } base.OnLoad(e); } void _btn_Click(object sender, EventArgs e) { BtnModalSearchCloseClickEvent(sender, e); } public virtual void Hide() { PnlModalSearchContent.Visible = false; ModalSearch.Hide(); ViewState = "false"; } public virtual void Show() { PnlModalSearchContent.Visible = true; ModalSearch.Show(); ViewState = "true"; } protected override void CreateChildControls() { base.CreateChildControls(); } protected override void Render(HtmlTextWriter writer) { if (ViewState == "true") { _modalSearch = new ModalPopupExtender(); _modalSearch.ID = "modalSearch"; _modalSearch.TargetControlID = "btnHiddenSearch"; _modalSearch.PopupControlID = "pnlModalSearch"; _modalSearch.DropShadow = false; _modalSearch.RepositionMode = AjaxControlToolkit.ModalPopupRepositionMode.RepositionOnWindowResize; _modalSearch.Drag = false; _modalSearch.BackgroundCssClass = "modalBackground"; _modalSearch.Show(); _btn = new Button(); _btn.ID = "btnHiddenSearch"; _btn.Style.Value = "display: none"; _btn.RenderControl(writer); _pnlModalSearch = new Panel(); _pnlModalSearch.ID = "pnlModalSearch"; _pnlModalSearch.CssClass = "modalPopup"; _pnlModalSearch.RenderControl(writer); PnlModalSearchContent.ID = "pnlModalSearchContent"; PnlModalSearchContent.RenderControl(writer); divContent.RenderControl(writer); _btn = new Button(); _btn.ID = "btnModalSearchClose"; _btn.Text = "Close"; _btn.CausesValidation = false; _btn.Click += new EventHandler(_btn_Click); _btn.RenderControl(writer); } } } public class DivContainer : Control, INamingContainer { internal DivContainer() { } } ________________________________________________________________________________________________ The problem I am facing is that the modalpopup extennder is not coming up as a popup.
n my application i am using ajax html text editor control , its working fine . but the contents that is typed in html editor contains bullets and numbering and while i am filling this content to a label control then the nuembering(ordered list) and bullets are not shown , is any solution ?Is it possible to view contents only by using ajax html control in preview mode.
Can I use the latest AJAX Control Toolkit on a .net 2.0 project which will be deployed to a server with framework 2.0 only? If not, where can I download the latest AJAX Control Toolkit for framework 2.0?
I m using ajax accordion control to display the information of my company branches. Now it always displays one pane at a time. But i want that it should not display any pane at a time. Only a single pane should be displayed when user click on header of that pane.
Ajax calendar control not working properly with content place holder of Master Page.Most of time Calender Control hides when mouseover with out changing date in content place holder of Master Page.same code works in normal aspx pages.
I am using ajax calendar control, i can only go month by month when the arrows are clicked.is it possible to open a year combo box to jump to specific years months.If i want to put a date of 2012, i will have to click almost 24 times to get to 2012 year.
At present we are using <ajax:TabContainer> to load tabs. I have 5 user controls inside <ajax:TabPanel>.
The problem is that all the data on these 5 pages gets loaded at once and increases the loading time as well as it is very hard to debug. Can we do lazy loading uisng TabContainer control? so that only the data of the current tab is loaded and when we click on the other tab then that's control data gets loaded.
I'm planning to fetch data to illustrate about the yearly sales achievement for last 3 years by showing seperately in grids in three different ajax tabs. i prefer to lazy loading of the data to the grid in each tab. is there a way to achieve this on the change event of the tabs.