Showing posts with label consists. Show all posts
Showing posts with label consists. Show all posts

Monday, March 26, 2012

DropShadowExtender

Hi,

I am working on an web-solution, where I have a menubar, that consists of an updatePanel, a WebPartZone and some Panels, that represents different menus. It goes something like this:

UPDATEPANEL

WebParZone

Panel 1 = Shop (example)

Panel 2 = Statistics

Panel X = Something

/WebPartZone

/UPDATEPANEL

How can I use a DropShadowExtender on each Panel?

I believe your DropShadowExtender's target control ID should be that of the UpdatePanel...I am not sure if the DropShadowExtender would work with UpdatePanel, i have never tried it.

But, if it does not work, wrap your updatepanel with another asp:panel control and make your dropshadowextender's targetcontrol id to this this dummy wrapper panel..i am sure this would work..

more on DropShadowExtender herehttp://ajax.asp.net/ajaxtoolkit/DropShadow/DropShadow.aspx

Wednesday, March 21, 2012

DropDownList and Ajax

Hello Everyone,

having very weird bug ,

page consists of following controls
- DataList to show records
- object data source
- PagedDataSource for paging of datalist (code behind)
- DropDownList for selecting paging size with values 3, 5(default), 10, 15

All above controls are kept in UpdatePanel.

Working of page

On DropDownList1_SelectedIndexChanged event I am setting PagedDataSource1.PageSize to DropDownList1.SelectedValue, then bind the DataList Control to show the records.

This works fine for the first run of the page, I get 5 records per page. If I change paging size to some other values it works, but when I change it to same default value i.e. 5 the DropDownList1.SelectedValue returns blank. Similar thing happens for any value which is set to default in DropDownList.

Thanks in Advance

Nitin Pawar

Hi Niyin,

To troubleshoot this issue, we really need the source code to reproduce the problem, so that we can investigate the issue in house. It is not necessary that you send out the complete source of your project. We just need a simplest sample to reproduce the problem. You can remove any confidential information or business logic from it.