Click here to Skip to main content
15,886,100 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
QuestionIs it possible to add Custom Suggestions to google.maps.places.Autocomplete Pin
sr15915-Jul-15 23:59
sr15915-Jul-15 23:59 
AnswerRe: Is it possible to add Custom Suggestions to google.maps.places.Autocomplete Pin
Dave Kreskowiak17-Jul-15 3:58
mveDave Kreskowiak17-Jul-15 3:58 
QuestionAsp.net front and back end confusion! Pin
George Tourtsinakis10-Jul-15 5:06
George Tourtsinakis10-Jul-15 5:06 
AnswerRe: Asp.net front and back end confusion! Pin
Pete O'Hanlon10-Jul-15 5:28
mvePete O'Hanlon10-Jul-15 5:28 
GeneralRe: Asp.net front and back end confusion! Pin
George Tourtsinakis12-Jul-15 3:59
George Tourtsinakis12-Jul-15 3:59 
GeneralRe: Asp.net front and back end confusion! Pin
Dave Kreskowiak12-Jul-15 4:29
mveDave Kreskowiak12-Jul-15 4:29 
GeneralRe: Asp.net front and back end confusion! Pin
George Tourtsinakis18-Jul-15 23:16
George Tourtsinakis18-Jul-15 23:16 
QuestionClone child gridview in nested gridview Pin
Member 118269799-Jul-15 21:20
Member 118269799-Jul-15 21:20 
Hi

I have created the nested gridview, parent and child.
Now I want to clone the child gridview after clicking on button. It should be cloned in same parent gridview.

Child gridview has the rowbind function, that should be applied to cloned grid

Is there any way to do this, Please Help Me. I have tried bellow code



protected void Button1_Click(Object sender, CommandEventArgs e)
{
string Partid = e.CommandArgument.ToString();
//datakey is assigned on grid control as DataKeyNames="UnivercityCode"
// string id1 = universityGrid.DataKeys[e.Row.RowIndex].Value.ToString();
//data table cloing
GridView gr1 = new GridView();
gr1.ID = "gvattrgrid";
gr1.HeaderStyle.CssClass = "attheaderstyle";
gr1.RowStyle.CssClass = "attrowstyle";
gr1.AlternatingRowStyle.CssClass = "attalterrowstyle";
gr1.CssClass = "attgridwidth";
gr1.CellPadding = 8;
gr1.AutoGenerateColumns = false;
gr1.CellSpacing = 10;
Table t = new Table();
gr1.Controls.Add(t);
foreach (GridViewRow row in gvPartGrid.Rows)
{
if (row.RowType == DataControlRowType.DataRow)
{

GridView gvChild = (GridView)row.FindControl("gvattributeGrid");

DataTable dt = new DataTable();
for (int i = 0; i < gvChild.Columns.Count; i++)
{
dt.Columns.Add("column" + i.ToString());
}
foreach (GridViewRow row2 in gvChild.Rows)
{
DataRow dr = dt.NewRow();
for (int j = 0; j < gvChild.Columns.Count; j++)
{
dr["column" + j.ToString()] = row2.Cells[j].Text;
}

dt.Rows.Add(dr);
}

DataTable dtClone = dt.Clone();
gr1.DataSource = dtClone;
gr1.DataBind();
}
}
TextBox txtSearch = new TextBox();
txtSearch.ID = "txtSearch";
for (int i = 0; i < gvPartGrid.Rows.Count; i++)
{
//TextBox txtqty = (TextBox)gvPartGrid.Rows[i].FindControl("txtqty");
PlaceHolder appendgrids2 = gvPartGrid.Rows[i].FindControl("PlaceHolder1") as PlaceHolder;

string partid = gvPartGrid.Rows[i].Cells[1].Text;

if (partid == Partid)
{
appendgrids2.Controls.Add(txtSearch);
appendgrids2.Controls.Add(gr1);
}
}

}

Thanks
AnswerRe: Clone child gridview in nested gridview Pin
User 418025428-Jul-15 8:54
User 418025428-Jul-15 8:54 
QuestionHow to get Memory usage size of each services running on Application Server using C#.net Pin
ven7538-Jul-15 20:18
ven7538-Jul-15 20:18 
AnswerRe: How to get Memory usage size of each services running on Application Server Pin
Michael_Davies8-Jul-15 20:24
Michael_Davies8-Jul-15 20:24 
GeneralRe: How to get Memory usage size of each services running on Application Server using C#.net Pin
ven7538-Jul-15 20:28
ven7538-Jul-15 20:28 
GeneralRe: How to get Memory usage size of each services running on Application Server using C#.net Pin
Michael_Davies8-Jul-15 21:08
Michael_Davies8-Jul-15 21:08 
GeneralRe: How to get Memory usage size of each services running on Application Server using C#.net Pin
ven7538-Jul-15 23:16
ven7538-Jul-15 23:16 
GeneralRe: How to get Memory usage size of each services running on Application Server using C#.net Pin
Michael_Davies8-Jul-15 23:43
Michael_Davies8-Jul-15 23:43 
GeneralRe: How to get Memory usage size of each services running on Application Server using C#.net Pin
ven7539-Jul-15 0:56
ven7539-Jul-15 0:56 
GeneralRe: How to get Memory usage size of each services running on Application Server using C#.net Pin
ven7539-Jul-15 1:43
ven7539-Jul-15 1:43 
GeneralRe: How to get Memory usage size of each services running on Application Server using C#.net Pin
Michael_Davies9-Jul-15 5:11
Michael_Davies9-Jul-15 5:11 
GeneralRe: How to get Memory usage size of each services running on Application Server using C#.net Pin
Pete O'Hanlon9-Jul-15 0:29
mvePete O'Hanlon9-Jul-15 0:29 
GeneralRe: How to get Memory usage size of each services running on Application Server using C#.net Pin
ven7539-Jul-15 0:58
ven7539-Jul-15 0:58 
GeneralRe: How to get Memory usage size of each services running on Application Server using C#.net Pin
Michael_Davies9-Jul-15 5:11
Michael_Davies9-Jul-15 5:11 
Questionhow to make image slider in a simple steps in Asp.Net Pin
Member 118220277-Jul-15 23:58
Member 118220277-Jul-15 23:58 
AnswerRe: how to make image slider in a simple steps in Asp.Net Pin
Richard MacCutchan8-Jul-15 0:21
mveRichard MacCutchan8-Jul-15 0:21 
AnswerRe: how to make image slider in a simple steps in Asp.Net Pin
raghvendra_tsar12-Jul-15 8:38
raghvendra_tsar12-Jul-15 8:38 
GeneralRe: how to make image slider in a simple steps in Asp.Net Pin
Wes Aday12-Jul-15 11:25
professionalWes Aday12-Jul-15 11:25 

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.