Click here to Skip to main content
15,887,988 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Creating Antivirus Pin
#realJSOP20-Dec-09 1:17
mve#realJSOP20-Dec-09 1:17 
QuestionView pdf in Iframe control [modified] Pin
Thilina.madush19-Dec-09 19:47
Thilina.madush19-Dec-09 19:47 
Questiononclientclick problem Pin
theOzLizard19-Dec-09 18:51
theOzLizard19-Dec-09 18:51 
Question2 asp.net websites...should I leave them separate or merge the two? Pin
Goalie3519-Dec-09 12:01
Goalie3519-Dec-09 12:01 
QuestionCreate Button at runtime! Pin
Sr...Frank19-Dec-09 5:01
Sr...Frank19-Dec-09 5:01 
AnswerRe: Create Button at runtime! Pin
dan!sh 19-Dec-09 5:40
professional dan!sh 19-Dec-09 5:40 
GeneralRe: Create Button at runtime! Pin
Sr...Frank19-Dec-09 5:49
Sr...Frank19-Dec-09 5:49 
GeneralRe: Create Button at runtime! Pin
dan!sh 19-Dec-09 6:09
professional dan!sh 19-Dec-09 6:09 
You are in the wrong forum then.

You can create a user control which exposes a property where you can set the button count. That user control will in turn have a TableLayoutPanel or a FlowLayoutPanel which will ensure the layout comes out good. Now, when you set the button count, you can add cells to the TableLayoutPanel and add buttons to it. You can also have a delegate exposed from the user control which will act as a common click event for the button and which can be handled anywhere.

Then, create a form and add this user control to it.

50-50-90 rule: Anytime I have a 50-50 chance of getting something right, there's a 90% probability I'll get it wrong...!!

GeneralRe: Create Button at runtime! Pin
Sr...Frank19-Dec-09 6:15
Sr...Frank19-Dec-09 6:15 
GeneralRe: Create Button at runtime! Pin
dan!sh 19-Dec-09 6:47
professional dan!sh 19-Dec-09 6:47 
AnswerRe: Create Button at runtime! Pin
Abhishek Sur19-Dec-09 10:26
professionalAbhishek Sur19-Dec-09 10:26 
QuestionUpload Image on server using webclient Pin
mohdjaved119-Dec-09 3:38
mohdjaved119-Dec-09 3:38 
AnswerRe: Upload Image on server using webclient Pin
Abhijit Jana20-Dec-09 3:58
professionalAbhijit Jana20-Dec-09 3:58 
QuestionSplit string problem Pin
lrsalunkhe19-Dec-09 1:01
lrsalunkhe19-Dec-09 1:01 
AnswerRe: Split string problem Pin
saini arun19-Dec-09 1:13
saini arun19-Dec-09 1:13 
GeneralRe: Split string problem Pin
lrsalunkhe19-Dec-09 1:22
lrsalunkhe19-Dec-09 1:22 
GeneralRe: Split string problem Pin
#realJSOP20-Dec-09 1:25
mve#realJSOP20-Dec-09 1:25 
QuestionWeb Service Pin
ellllllllie18-Dec-09 22:35
ellllllllie18-Dec-09 22:35 
AnswerRe: Web Service Pin
Brij19-Dec-09 2:42
mentorBrij19-Dec-09 2:42 
GeneralRe: Web Service Pin
ellllllllie19-Dec-09 4:01
ellllllllie19-Dec-09 4:01 
Questioncompress webrespource.axd file in ii7 Pin
Vijay31aug18-Dec-09 22:30
Vijay31aug18-Dec-09 22:30 
QuestionUpdatepanel not working in createuser wizard Pin
bhavnvyas18-Dec-09 20:54
bhavnvyas18-Dec-09 20:54 
AnswerRe: Updatepanel not working in createuser wizard Pin
Abhijit Jana18-Dec-09 23:14
professionalAbhijit Jana18-Dec-09 23:14 
GeneralRe: Updatepanel not working in createuser wizard Pin
bhavnvyas18-Dec-09 23:56
bhavnvyas18-Dec-09 23:56 
GeneralRe: Updatepanel not working in createuser wizard Pin
saini arun19-Dec-09 0:12
saini arun19-Dec-09 0:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.