15,881,600 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 trilokharry (Top 14 by date)
trilokharry
10-May-11 5:28am
View
thanks for your kind response.
I can call modelpopupextender by c# code but not able to get response in same place of code.
see my requirement as mentioned below:
//after click on ok it should return something and closed and rest of the code will be executed based on response
string strResponse = this.programmaticModalPopup.Show();
if(strResponse == "Append")
{
//code
}
else if(strResponse == "Overwrite")
{
//code
}
trilokharry
5-May-11 1:45am
View
still I have no solution.
Is there anyone who can help me.
I would appreciate.
thanks
trilokharry
3-May-11 5:00am
View
it's for web page.
trilokharry
3-May-11 5:00am
View
yes
trilokharry
3-May-11 4:53am
View
It's for web page.
sorry for not to mention web page.
thanks
trilokharry
8-Apr-11 3:31am
View
database might be MS SQL 2005 or 2008.
trilokharry
8-Apr-11 3:17am
View
sure
thanks a lot.
trilokharry
8-Apr-11 2:54am
View
might be display result in repeater as mention below.
p1 p2
quality feature1 feature2
Price $2000 $4000
Catalog Number AR001 344289-1SET
so does it make sense.
thanks
trilokharry
8-Apr-11 2:48am
View
in my scenario columns might be any no. of and will be treated as a feature in DataTable.
but columns in a repeater will be based on no. of rows in DataTable.
like:
result of this query:
select *from product where ProductId in(2,3,6,7);
4 products will be in result and will be compared.
min prod compare 2 and max will be 5 so max repeater column will be 5 and so max no. of rows also will be 5.
thanks
trilokharry
8-Apr-11 2:10am
View
thanks for kind response.
my scenario is:
suppose I have 4 records of products in DataTable.
4 rows in DataTable with p1, p2, p3, p4 with respective product features.
if 4 rows means I want to make 4 columns or if it is 2 row means 2 columns.
Particular Product features will be used to be compared.
How can I achieve same by repeater control in asp.net c#.
thanks
trilokharry
8-Apr-11 1:02am
View
thanks a lot.....
It's working fine.
trilokharry
5-Apr-11 1:20am
View
Hinot able to get sample in reference site what you have given me for dynamic columns.
my scenario is:
table can have 2 or 3 or 4 or 5 rows of products.
if no. of rows are 2 means columns will be 2.
if no. of rows are 3 means columns will be 3.
columns in table will be used to display features of product for comparison.
thanks for your kind response.
trilokharry
29-Mar-11 5:10am
View
thanks for your kind response.
server side method is not being executed.
I used code as mentioned below.
.aspx page
<cc1:ToolkitScriptManager runat="server" ID="ScriptManager2" />
<cc1:AutoCompleteExtender ID="AutoCompleteExtender1" runat="server" TargetControlID="TextBox1"
ServiceMethod="GetCompletionList" UseContextKey="True">
<asp:TextBox ID="TextBox1" runat="server">
.aspx.cs page:
[WebMethod]
public string[] GetCompletionList(string prefixText, int count, string contextKey)
{
if (count == 0)
{
count = 10;
}
if (prefixText.Equals("xyz"))
{
return new string[0];
}
Random random = new Random();
List<string> items = new List<string>(count);
for (int i = 0; i < count; i++)
{
char c1 = (char)random.Next(65, 90);
char c2 = (char)random.Next(97, 122);
char c3 = (char)random.Next(97, 122);
items.Add(prefixText + c1 + c2 + c3);
}
return items.ToArray();
}
trilokharry
25-Mar-11 0:49am
View
thanks for kind reply.
it is fine but how can I call server side function at the time of closing popup because I dont want to refresh parent page. parent page only partially will be updated.
thanks
Show More