I add a gridview into a accordionpane in a accordion. And I bind data to this gridview and define a column as a datakeyname and make it un-visible. However when I get the datakeys[index] in the behind code, there is an error that "Index was out of range".But I am sure the index is not out of the range, and when i debug i see the count of the datakeys is 0
I am facing a problem concerning gridview inside AccordionPane:using Visual Studio .Net 2010 designing Asp .Net Web Application (.net 4) using ajax Control toolit (.net 4 and have tried with .net 3.5 version) When I insert a gridview inside the an accordionpane content everything seems OK. However, changing the SQLDatasource configuration, or even the Griview's colums, no code is written in the aspx web page. That concludes to the fact that: in design mode i can see everything, at runtime nothing appears. In designer's view the gridview renders fine, but when at source view, nothing is written. If I change gridview's and SQLDatasource position outside the Accordion, everything is working perfectly, including the sourceview update in the aspx page.
I am having a problem setting up the width and height of my textbox inside of my accordion panel. Does not make any sense because my code executes correctly but then does not change the value of the control on client side.I pass a control into this function and iterate through the control to locate more controls.
I have a display problem when I try to use a ajax combobox inside a tab control: when my tab control loads on the page where the combobox is, everything works fine; however, if it loads on a another page, the you change to the page which contains the combobox, the right button (which opens the list of the combobox) isn't displayed at all.
I'm try to add a combobox to my form which i have done and populate it with the infomation i need but i want to stop the user from being able to edit the first 5 character in the textbox part of the combo box( 1 is this possible 2 am i going about it in the right way).
I have 3 columns fro a db to enter ips ie 123.456.7.89 at the start if each number i want (SE1)(SE2)(SE3) which i can do at the momment . So I get in the combobox list 3 items with (SE1)123.456.7.89 OR just (SE1) depending of i a result is returned from the DB. However i don't want the user to be able to edit out the (SE?) part of the sting in the textbox. When editing i've tried used the text change event to try and capture the change and make sure the string.length > 5 , but the event does not fire also when i leave the combobox it it adds to the combox list. If I refersh it goes back to how it should be with only the 3 items.
it binding correctly(datasource dynamically binded) and it raises event too while changing index but it is not raising event when we manually clearing the combobox text..if currently combobox having text "ASP" then i manually select that entire text and using del key i am deleting but it is not raising event for me.. when i change index it automatically raising event...i need to raise event while combobox is empty...
I'm using the Accordion control but i have some troubles while combine it with my custom UserControl.When i'm tring to add my UserControl to the Content property of the AccordionPane, it's not working.Also, it's doesnt throw any exception. It's just not look like doin what im ask for.My custom UserControl (named: "MailAddress.ascx") is pretty empty of value. it's just contain "<p>blabla</p>". I'm sure that it's working (added it manually to my webpage and it's working.The next code is creating the AccordionPane dynamicly:
The first question is that possible to use custom UserControl as a content of AccordionPane?
I'm a novice in ASP.NET and AJAX Toolkit but i made some tryes and looks like very nice!I was trying to build an accordion pane fetching data from database and decided to use item repearter.So i wrote this code
What is the best way of limit the size of an Accordion Pane when it contains a lot of data? I have an Accordion defined in the ASP which I'm building dynamically in the code behind,at present I'm just adding Literals to the pane (basically records from the db) The data I'm using generates four panes which contain 86, 4, 500 & 132 rows each. I was wondering if it's feasible to limit the rows being displayed by the Accordion Pane when the rows are greater than 20 but below that number have the size set to auto?
I am using Accordion with multiple AccordionPane. Each AccordionPane has a form tag that contains asp controls such as dropdownlist and textboxes and buttons to submit or cancel. Each asp control has a requiredFieldValidator assign to it. However when a i am in a particular AccordionPane to submit the form, the validator for other fields in other fields is highlighted preventing me from submitting.
I am creating nested accordion using the object model and have created buttons in the inner accordion's accordion pane. The buttons look great but issue is that the buttons does not fire thier click event. They just do the postback of the page and ignore the event.
I want to show a pop-upextender on the pre_init event but all my panes are added dynamically so it does not give any rows.
f anyone else had tried putting a ajax control tookit combobox inside a jQuery dialog div/panel? If I do a postback on a page with this dialog I get an error 'Microsoft JScript runtime error:
Sys.InvalidOperationException: Handler was not added through the Sys.UI.DomEvent.addHandler method.' If I continue I get and error and this stack trace;
[NullReferenceException: Object reference not set to an instance of an object.] AjaxControlToolkit.ComboBox.LoadPostData(String postDataKey, NameValueCollection postCollection) in d:hgactServerAjaxControlToolkitComboBoxComboBox.cs:681
If I use a standard DropDownList there is no problem. I will stick to the standard control for now but I would prefer to use the toolkit combobox.
i'm trying to update the data from the textbox using the update button at one of my accordionPane. but when i click the button it won't go to the Accordion1_itemcommand. how to fix my problem??below are code
I have a problem with CascadingDropDown... I have two related comboboxes, where the second is a slave of the first (e.g. country the first, cities the second). What I want is that if I select one country from combobox 1 then the second must be "filtered" by that selection (it should display all the cities inside the selected country, and the actual CascadingDropDown implementation is OK), but if I leave the combobox 1 in the default option (e.g. "Please select a country") I want the second to display all the cities I have in the database. The problem is that when selecting default option for combobox 1 the second combobox is disabled and a postback to my webservice never occurs.