Showing posts with label idea. Show all posts
Showing posts with label idea. Show all posts

Wednesday, March 28, 2012

Digg Style Comments

How can you implement a digg style commenting system using AJAX.NET?

I tried to use the CollapsiblePanelExtender within a Repeater. The idea was to fire off an asynchronouspostback to update comment rankings when the collaspe and expand controls are triggered.

Soon after I discovered that CollapsiblePanel doesn't expand/collapse within a Repeater if SuppressPostBack="false". If SuppressPostBack="true", then i could execute some code to update the ranks.

Then I realize once a PostBack occurs all my CollapsiblePanels will revert to their default collapsed or expanded state.

Please provide some ideas or point me in the right direction.

thanks

Try to specify asynchronous post back for the events of?the CollapsiblePanelExtender?through?a?asp:UpdatePanel.Can?you?post?some?codes?here?
This?is?will?help?us?to?fix?the?problem.

Monday, March 26, 2012

Detailsview in UpdatePanel - Master$Content$dvParameters$ctl03 could not be located...

Hi,

I have this weird problem that just started to happen today and I have no idea what caused it:

I have a DetailsView bound to a SqlDataSource in an UpdatePanel. Whenever I edit something in the DetailsView and initiate the async postback, I get:

"An error has occurred because a control with id 'Master$Content$dvParameters$ctl03' could not be located or a different control is assigned the sameID after postback".

Any idea what could be wrong here?

Thanks,

Tom

Ok, I've found out that this happened because I accidentally changed the MasterPage ID in its OnLoad method rather than in the OnInit method

Descriptions of CalendarExtender Properties/Events

Any idea where I can find documentation/descriptions on all the CalendarExtender properties and events?

Hi Whdyck,

You can find the main propertieshere and for more details ,I suggest that you should have a glance at its source code since it is an open source project.

Best regards,

Jonathan