Click here to Skip to main content
15,918,193 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionWant to create a grouped report using rdlc any help would be greatly helpful Pin
simpledeveloper31-Oct-18 11:50
simpledeveloper31-Oct-18 11:50 
QuestionreportViewer.Height is not setting the height of the report Pin
simpledeveloper31-Oct-18 7:31
simpledeveloper31-Oct-18 7:31 
AnswerRe: reportViewer.Height is not setting the height of the report Pin
Richard Deeming31-Oct-18 9:16
mveRichard Deeming31-Oct-18 9:16 
GeneralRe: reportViewer.Height is not setting the height of the report Pin
simpledeveloper31-Oct-18 11:41
simpledeveloper31-Oct-18 11:41 
QuestionWhy my code only read one row? Pin
NerakSeven29-Oct-18 12:02
NerakSeven29-Oct-18 12:02 
AnswerRe: Why my code only read one row? Pin
User 41802541-Nov-18 3:19
User 41802541-Nov-18 3:19 
QuestionASP.NET Website Template or CMS for Database-driven site? Pin
Member 1214932324-Oct-18 23:10
Member 1214932324-Oct-18 23:10 
AnswerRe: ASP.NET Website Template or CMS for Database-driven site? Pin
Afzaal Ahmad Zeeshan25-Oct-18 2:29
professionalAfzaal Ahmad Zeeshan25-Oct-18 2:29 
AnswerRe: ASP.NET Website Template or CMS for Database-driven site? Pin
sriyanssharma5-Nov-18 21:58
sriyanssharma5-Nov-18 21:58 
QuestionASP.NET Website Template or CMS for Database-driven site? Pin
Member 1214932324-Oct-18 23:10
Member 1214932324-Oct-18 23:10 
AnswerRe: ASP.NET Website Template or CMS for Database-driven site? Pin
Afzaal Ahmad Zeeshan25-Oct-18 2:36
professionalAfzaal Ahmad Zeeshan25-Oct-18 2:36 
GeneralASP.NET MVC dependency injection Pin
Dwayne Barsotta24-Oct-18 19:32
Dwayne Barsotta24-Oct-18 19:32 
GeneralRe: ASP.NET MVC dependency injection Pin
Nathan Minier25-Oct-18 1:21
professionalNathan Minier25-Oct-18 1:21 
QuestionRadGrid hierarchy parentID using command-template Pin
jsegreti9-Oct-18 18:03
jsegreti9-Oct-18 18:03 
AnswerRe: RadGrid hierarchy parentID using command-template Pin
Vincent Maverick Durano11-Oct-18 11:28
professionalVincent Maverick Durano11-Oct-18 11:28 
Questioncreate dynamic textBoxes Pin
Member 933127825-Sep-18 3:30
Member 933127825-Sep-18 3:30 
I am trying to create to create two dynamic TextBoxes on Button click1.  The first time i click i get 2. 

The second time 4 ans so on when I only want two (2)



protected void Page_PreInit(object sender, EventArgs e)
{
List<string> keys = Request.Form.AllKeys.Where(key => key.Contains("txtDynamic")).ToList();
int i = 1;
foreach (string key in keys)
{
this.CreateTextBox("txtDynamic" + i);
i++;
}

}

protected void Button1_Click(object sender, EventArgs e)
{
int index = pn1TextBoxes.Controls.OfType<TextBox>().ToList().Count + 1;
this.CreateTextBox("txtDynamic" + index);


}

private void CreateTextBox(string id)
{
for (int i = 1; i <= 2; i++)
{
TextBox txt = new TextBox();
txt.ID = id + i.ToString();
txt.TextMode = TextBoxMode.MultiLine;
txt.Height = 60;
txt.Width = 300;
pn1TextBoxes.Controls.Add(txt);
} 
Literal lt = new Literal();
lt.Text = "<br/>";
pn1TextBoxes.Controls.Add(lt);
}

AnswerRe: create dynamic textBoxes Pin
Dar Brett25-Sep-18 4:55
Dar Brett25-Sep-18 4:55 
AnswerRe: create dynamic textBoxes Pin
F-ES Sitecore26-Sep-18 22:43
professionalF-ES Sitecore26-Sep-18 22:43 
QuestionHow to Complete Angular/Typescript-Based Web Development Workflow in Restricted Environment Pin
Christopher Koeber23-Sep-18 10:36
Christopher Koeber23-Sep-18 10:36 
AnswerRe: How to Complete Angular/Typescript-Based Web Development Workflow in Restricted Environment Pin
jkirkerx25-Sep-18 8:07
professionaljkirkerx25-Sep-18 8:07 
QuestionMessage Closed Pin
23-Sep-18 9:16
Christopher Koeber23-Sep-18 9:16 
AnswerRe: Using Latest Angular/Typescript Web Development Pipeline within Restricted Environment Pin
Nelek23-Sep-18 9:17
protectorNelek23-Sep-18 9:17 
GeneralRe: Using Latest Angular/Typescript Web Development Pipeline within Restricted Environment Pin
Christopher Koeber23-Sep-18 10:23
Christopher Koeber23-Sep-18 10:23 
QuestionTry to dynamic text box Pin
Member 933127821-Sep-18 11:09
Member 933127821-Sep-18 11:09 
AnswerRe: Try to dynamic text box Pin
Richard Deeming21-Sep-18 13:10
mveRichard Deeming21-Sep-18 13:10 

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.