.NET Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 



Go Back   Dev Articles Community ForumsProgramming.NET Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old October 20th, 2003, 05:05 AM
msrnivas msrnivas is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 30 msrnivas User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 15
checkboxes in placeholder

Hi i am doing project in asp.net
I am displaying checkboxes dynamically in placeholder.I can display the checboxes but its displaying without proper aligjnment.How to display cjecboxes with proper alignments.I just place my placeholder in tbale tag.Pl advid me.
code is like below


<table border="1">
<tr>
<td><asplaceholder id="plh" Runat="server"></asplaceholder></td>
</tr>
</table>

code behind

plh.Controls.Clear()
For i = 0 To rolearr.Count - 1
For j = 0 To indarr.Count - 1
If Trim(rolearr.Item(i)) = Trim(indarr.Item(j)) Then
flag = True
Exit For
End If
Next
objCheckBox = New CheckBox
objCheckBox.Checked = flag
objCheckBox.ID = "rolearr" & i
objCheckBox.Text = "ddd" ' objCheckBox.AutoPostBack = True

plh.Controls.Add(objCheckBox)

Reply With Quote
  #2  
Old October 20th, 2003, 07:33 PM
stumpy's Avatar
stumpy stumpy is offline
May contain nuts.
Dev Articles Regular (2000 - 2499 posts)
 
Join Date: Aug 2002
Posts: 2,056 stumpy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 44 m 22 sec
Reputation Power: 0
msrnivas - please note that there is now a separate forum for .NET related threads. I have moved this thread to the correct location. Also, check your messages.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgramming.NET Development > checkboxes in placeholder


Developer Shed Advertisers and Affiliates


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.

© 2003-2018 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap