15,884,472 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
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
Member 4550493
17-May-11 8:12am
View
I tried following thing but it don't give any record return inputSQL.Replace("%", "''"); return inputSQL.Replace("%", "[%]"); return inputSQL.Replace("%", "%");
Member 4550493
17-May-11 8:07am
View
queryBindValues.Add(CONST_VarDocName, %+ docName + %);
where if i entered the docname=% then it gives all record but i want only that record
Show More