I has a objectdatasource what return a list of things. This ods is linked to several DropDownLists. In Selecting event, how I can know what dropdownlist was responsible to execute this event? Or this event will be called just one time?
In the Selecting event of the ObjectDataSource, you cannot determine which dropdownlist is calling the datasource control as it has no idea about the caller. Also, if you have the EnableCaching set to false, the Selecting event gets fired multiple times depending on the number of controls using it. If you have this property enabled, this event is called just one time, and the result is cached internally and reused for the next calls. In this case, you might consider creating a single handler for the DataBound event of the dropdownlists, and you can determine the caller via the sender parameter in this event handler.
I am using OWC(Office web component) 11 to draw a basic bar chart in my webpage. On Y -axis I would like to have date values. But it shows date ranges from 1899 to 1900 only. Can anybody help me how can I assign date range to Y axis ?
Hi I have a repeater control which return more than 200 records.
is there any way that i can display scroll bar in the repeater control between header and footer?
so that when user scrolling the records in the repeater header and footer are always visible, changing only the records.
It would depend on the template definitions you are using in your Repeater.
You certainly could use a <div style='overflow: auto;'> tag in your Repeater header template (and a matching </div> tag in the footer template) with a fixed height and width to establish your scrolling area.
In IE everything works perfectly, but in Firefox and Opera the container div only expands to the size of the content in the #Center div, in other words, if the right or left column is longer than the center column then it overflows out of #Container. Is there something I'm doing wrong, or is this an insurmountable problem?
Actually, it's in Firefox and Opera that the layout is displayed correctly. There is a bug in IE that makes is always expand elements to the size of it's children, even when it shouldn't.
Elements that are floating does not affect the size of the parent. If you want the parent to expand to the size of the floating children, place a non-floating element as a last child, and use "clear: both;" to place it below the floating children.
I figured IE was the one that had it wrong since it was the odd man out. The solution was a lot simpler than I thought it would be and works like a charm, thanks a lot
One last small problem, both IE and Opera have a margin on the top and bottom of the container div, but firefox only has the margin on the top. As you see in my first post Container is set to margin: 20px auto;
Any programming platform for the web supports AJAX. It's the browser that does the real work, the web application only has to answer to requests and return a result, that doesn't differ from a regular web page.
ATLAS is an AJAX library for ASP.NET, you can't use it with ASP.
I installed visual studio 2005,abd i opend a new website.In that when i click on design button in default.aspx,the design is not working i.e it's not opening a design window what to do.
Thanks in advance