Click here to Skip to main content
15,891,981 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Password field lost their values Pin
marky77729-May-07 20:46
marky77729-May-07 20:46 
GeneralRe: Password field lost their values Pin
suveenmohan29-May-07 21:49
suveenmohan29-May-07 21:49 
GeneralRe: Password field lost their values Pin
marky77729-May-07 21:59
marky77729-May-07 21:59 
QuestionFile Download problem.... Pin
manjunath hindupur29-May-07 20:32
manjunath hindupur29-May-07 20:32 
QuestionRequest .Form for a Div tag Pin
Senthil_M29-May-07 20:28
Senthil_M29-May-07 20:28 
AnswerRe: Request .Form for a Div tag Pin
Guffa29-May-07 21:39
Guffa29-May-07 21:39 
Questiongrid view Pin
mahendra nath reddy29-May-07 20:24
mahendra nath reddy29-May-07 20:24 
Questionhow to place controls one below another Pin
harithadotnet29-May-07 20:19
harithadotnet29-May-07 20:19 
Hi

I have created one image control and 2 link button controls dynamically and added those controls to panel. when i build the application these 3 controls are appearing side by side but i want to display one below another.

my code is

protected System.Web.UI.WebControls.Panel p1;
ImageButton img;
LinkButton links;
LinkButton linkb;

Label l1;
private void Page_Load(object sender, System.EventArgs e)
{
Session["impath"]="pg/dhee";
for (int i = 1; i < 6; i++)
{

links=new LinkButton();
linkb=new LinkButton();
img = new ImageButton();
img.ID = "img" +i.ToString(); img.ImageUrl="pg/dhee/thumbs/"+ i +".jpg";

links.ID="ls"+i.ToString();
linkb.ID="lb"+i.ToString();
links.Text="800*600";
linkb.Text="1024*768";
l1.Text=" | ";


p1.Controls.Add(img);
p1.Controls.Add(links);
p1.Controls.Add(l1);
p1.Controls.Add(linkb);

}

}



how to do this plz help me
Thanks in advance


Haritha

AnswerRe: how to place controls one below another Pin
nareshss29-May-07 20:46
nareshss29-May-07 20:46 
Generaltask management Pin
sangramkp29-May-07 20:19
sangramkp29-May-07 20:19 
GeneralRe: task management Pin
karthik_dotnet130-May-07 0:33
karthik_dotnet130-May-07 0:33 
GeneralRe: task management Pin
sangramkp30-May-07 0:51
sangramkp30-May-07 0:51 
GeneralRe: task management Pin
karthik_dotnet130-May-07 1:17
karthik_dotnet130-May-07 1:17 
GeneralRe: task management Pin
sangramkp30-May-07 1:24
sangramkp30-May-07 1:24 
QuestionTextbox Multiline Pin
kirthikirthi29-May-07 20:13
kirthikirthi29-May-07 20:13 
AnswerRe: Textbox Multiline Pin
Sherin Iranimose29-May-07 21:20
Sherin Iranimose29-May-07 21:20 
GeneralRe: Textbox Multiline Pin
kirthikirthi29-May-07 21:36
kirthikirthi29-May-07 21:36 
QuestionDoes this Functions work Also for ASP.NET? Pin
Vimalsoft(Pty) Ltd29-May-07 20:12
professionalVimalsoft(Pty) Ltd29-May-07 20:12 
AnswerRe: Does this Functions work Also for ASP.NET? Pin
DavidNohejl29-May-07 21:51
DavidNohejl29-May-07 21:51 
GeneralRe: Does this Functions work Also for ASP.NET? Pin
Vimalsoft(Pty) Ltd29-May-07 22:23
professionalVimalsoft(Pty) Ltd29-May-07 22:23 
GeneralRe: Does this Functions work Also for ASP.NET? Pin
DavidNohejl29-May-07 22:41
DavidNohejl29-May-07 22:41 
GeneralRe: Does this Functions work Also for ASP.NET? Pin
Vimalsoft(Pty) Ltd29-May-07 23:43
professionalVimalsoft(Pty) Ltd29-May-07 23:43 
QuestionGridview with Pushbutton delete Pin
siddisagar29-May-07 20:09
siddisagar29-May-07 20:09 
AnswerRe: Gridview with Pushbutton delete Pin
Sherin Iranimose29-May-07 20:39
Sherin Iranimose29-May-07 20:39 
QuestionWorking wtih Infragistic's Ultrawebgrid Control Pin
Mahdi.Jabbari29-May-07 19:57
Mahdi.Jabbari29-May-07 19:57 

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.