Click here to Skip to main content
15,942,700 members

Comments by Member 4550493 (Top 7 by date)

Member 4550493 23-Jun-11 5:09am View    
Hi All, Thanks for replying but i want the solution for silverlight because OnClientClick event is not available foe Button control in silverlight.Also, I hav tried for IsEnabled=True and IsEnabled=False property but its not working.Please provide solution for silverlight as i have provide my code with this Question.As you have mentioned to do IsEnabled=false in SearchButton Click Event and Enable it on clear button click Event but thats not the perfect solution because it is not compulsory to click clear button after clicking the Search button.beacause he can enter the different order no.Waiting for Reply.
Thanks,
Umesh Tayade
Member 4550493 20-Jun-11 7:43am View    
Hi Monjurul,
Thanks for your help. Its Working.
Thank you very much.
Member 4550493 17-Jun-11 5:13am View    
Hi,
Thanks for quickly replying to my Question. It's working but what happens when i first click on the linkbutton it opens the window and i minimzed it and again click on that link now that window remains minimized it just refreshesh the content of it.
I want that it must pop up the window after second click which i have minimized

void lnkViewOrderDocuments_Click(object sender, EventArgs e)
{
StringBuilder sb = new StringBuilder();
if (null != Request.QueryString[CONST_OrderNo])
{
string dmuUrl = OrderHelper.SetDMULinkURLFromConfig(Request.QueryString[CONST_OrderNo].ToString(),
Request.QueryString[CONST_OrderType].ToString());
sb.Append(@"<script language="'javascript'" type='text/javascript'>");
sb.Append(dmuUrl.Trim());
sb.Append(@"</script>");
this.RegisterStartupScript("RegisterSalesTextScript", sb.ToString());
}
}
}


sDocumentMergingUtilityURL = string.Format("javascript:window.open('" + sDocumentMergingUtilityURL + "','Window1');return false;");
Member 4550493 17-May-11 8:26am View    
orderSearchDetailViewModelConnector.ViewState.GetOrderSearchDetail( (txtDocName.Text != string.Empty) ? SafeSqlLiteral(txtDocName.Text.ToUpper().Trim()) : string.Empty);

private string SafeSqlLiteral(string inputSQL)
{
return inputSQL.Replace("\"", "''").Replace("&", "''").Replace("<", "''").Replace("%", "''");
}

if (!string.IsNullOrEmpty(docName))
{
query.ApplyPredicate(CONST_byDocName, CONST_target2);
queryBindValues.Add(CONST_VarDocName, CONST_PERCENTILE + docName + CONST_PERCENTILE);
}
This is my code
Please Reply Soon
Member 4550493 17-May-11 8:26am View    
orderSearchDetailViewModelConnector.ViewState.GetOrderSearchDetail( (txtDocName.Text != string.Empty) ? SafeSqlLiteral(txtDocName.Text.ToUpper().Trim()) : string.Empty);

private string SafeSqlLiteral(string inputSQL)
{
return inputSQL.Replace("\"", "''").Replace("&", "''").Replace("<", "''").Replace("%", "''");
}

if (!string.IsNullOrEmpty(docName))
{
query.ApplyPredicate(CONST_byDocName, CONST_target2);
queryBindValues.Add(CONST_VarDocName, CONST_PERCENTILE + docName + CONST_PERCENTILE);
}
This is my code
Please Reply Soon