Click here to Skip to main content
Rate this: bad
Please Sign up or sign in to vote.
See more: C# ASP.NET rendering
i have a text from jquery method :
<ul id="ContentPlaceHolder2_1g" class="profList column ui-sortable">
<legend class="group">المجموعه 1</legend>
<li id="ContentPlaceHolder2_8">محمود حسن ابراهيم عبد الصمد</li>

<ul id="ContentPlaceHolder2_2g" class="profList column ui-sortable">
<legend class="group">المجموعه 2</legend><
li id="ContentPlaceHolder2_9">محمود فتحى ابراهيم عبد الصمد</li>
<li id="ContentPlaceHolder2_10">احمد محسن احمد على</li>
<li class="" style="" id="ContentPlaceHolder2_3">احمد درويش محمود عباس</li>


<ul id="ContentPlaceHolder2_3g" class="profList column ui-sortable">
<legend class="group">المجموعه 3</legend>
<li id="ContentPlaceHolder2_11">محمد سيد محمد سيد</li>

I retrieve this htmltext in variable in c# ok then i have div in my aspx
<div id="ulAndil" runat="server" ></div>
I want to render these html in div and loop through these controls like ul an il all this in one method at run time
Posted 10-Apr-12 12:12pm
Edited 10-Apr-12 14:13pm
SAKryukov at 10-Apr-12 21:55pm
What do you mean "at run time". Service run time, client run time?
nagiub2007 at 10-Apr-12 22:05pm
no server run time

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Do you mean , you want these three "fieldset" tags in div "ulAndil" at run time and "fieldset" html is in JQuery method?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 380
1 OriginalGriff 230
2 DamithSL 220
3 Zoltán Zörgő 170
4 Maciej Los 135
0 OriginalGriff 7,740
1 DamithSL 5,694
2 Sergey Alexandrovich Kryukov 5,404
3 Maciej Los 5,061
4 Kornfeld Eliyahu Peter 4,539

Advertise | Privacy | Mobile
Web01 | 2.8.141223.1 | Last Updated 11 Apr 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100