Another addition of my Ajax Control Development Article series. This time it is Asp.net Ajax Repeater. Check it out...
While working on Ajax Data Controls Project, I need the generated HTML from an ITemplate. Here is the code that generates the html, some of you may find it useful. 1: StringBuilder output = new StringBuilder(); 2: StringWriter sw = new StringWriter(output, CultureInfo.InvariantCulture); 3: HtmlTextWriter htw = new HtmlTextWriter(sw); 4: 5: Control control = new Control(); // Create a Fake control to act as a Container 6: 7: template.InstantiateIn(cont... // This is the ITemplate 8: control.RenderControl(htw);...
I have just started a new Project in CodePlex AjaxDataControls. I am planning to include GridView, DataList, Repeater, DetailsView, FormView and ObjectDataSource in the initial release. Since the Asp.net version of these controls does not have any object model in the client side as those were released long before Ajax framework, currently the only choice available working with this controls is to surround these controls in an UpdatePanel. UpdatePanel is a great option for developing Small/Mid size...