.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:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old October 20th, 2003, 04: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: 5
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, 06:33 PM
stumpy's Avatar
stumpy stumpy is offline
May contain nuts.
Dev Articles Regular (2000 - 2499 posts)
 
Join Date: Aug 2002
Location: Sydney, AU
Posts: 2,058 stumpy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 6 m 11 sec
Reputation Power: 8
Send a message via ICQ to stumpy Send a message via MSN to stumpy
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


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 | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway