15,670,309 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 Python questions
View Javascript questions
View C++ questions
View Java 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 saini arun (Top 59 by date)
saini arun
6-Nov-12 8:13am
View
Thanks!
That is all I needed. :)
saini arun
20-Oct-12 2:02am
View
Reason for my vote of 1
Voted 1 as I agree with this http://www.codeproject.com/Messages/4403384/What-is-happening-to-the-integrity-of-this-site.aspx
saini arun
31-Mar-12 6:29am
View
Split the string by comma, this will give you an array which will have each line you want as its items.
Run a foreach loop on the array and generate the target string by appending new line character or <br /> in each iteration.
This is the logic, you need to convert it into code.
saini arun
31-Jan-12 6:16am
View
See the solution posted by maheshkumar.adarsh below. You just need to place your drop downs in between contentTemplate tags.
saini arun
31-Jan-12 5:07am
View
If both the drop downs have items at the time of page load, you can do it using javascript.
If the items in the second drop down depends upon the item selected in the first one, then you have to use ajax.
saini arun
30-Dec-11 6:20am
View
What do you mean by can't find the control? What error does it generate?
[You can use clientID to get the id of the control rendered on the page.]
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
string jScript;
jScript="<script>print_country('"+country.ClientID+"', '"+state.ClientID"');</script>";
Page.RegisterClientScriptBlock("keyClientBlock",jScript);
}
}
saini arun
7-Dec-11 2:55am
View
Are you sure you have ASPNetVideo.NET2.dll in your BIN folder on server?
saini arun
28-Nov-11 5:52am
View
oops, sorry I should have guessed that you already have the records in ascending order and now want to display them in descending order.
:)
saini arun
28-Nov-11 5:52am
View
Deleted
oops, sorry I should have guessed that you already have data the records in ascending order and now want to display them in descending order.
:)
saini arun
28-Nov-11 5:27am
View
If you want the grid view sorted on page load, why don't you bind it with sorted data on the first place?
This can be done at the database level or you can sort the data set on a particular column and then bind it to grid view.
saini arun
18-Nov-11 2:24am
View
http://skyje.com/2010/03/drawing-tools/
saini arun
1-Nov-11 2:19am
View
This is how the file upload element behaves. Check the links provided in my answer below.
saini arun
2-Sep-11 2:34am
View
Please use the same question in Google search. You will get hundreds of answers.
saini arun
19-Aug-11 3:38am
View
Post the code you have written for refreshing the parent page.
saini arun
21-Jul-11 8:30am
View
see here
saini arun
14-Feb-11 2:32am
View
Following is one of the comments posted on that page.
"Are you still using IE6 ?!
yes title attribute will work only for IE7 and plus. but you can work around this by creating custom control or some thing like that"
saini arun
2-Feb-11 6:41am
View
Great!
saini arun
1-Feb-11 5:20am
View
Using script-manager & surrounding you controls with update-panel on the page?
saini arun
31-Jan-11 6:43am
View
It copies both ".resx" & "resx.cs" to bin folder. That's the un-compiled version of the file.
saini arun
27-Jan-11 4:59am
View
The best thing about googling for the solution of a problem is you do not have to wait for the replies.
http://www.google.com/search?q=show+modal+popup+on+delete+command+of+gridveiw&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a#hl=en&client=firefox-a&hs=el4&pwst=1&rls=org.mozilla:en-US:official&&sa=X&ei=wUFBTcvwKcfIrQesuNkC&ved=0CBMQvwUoAQ&q=show+modal+popup+on+delete+command+of+gridview&spell=1&fp=db5121e134bb281b
saini arun
25-Jan-11 6:36am
View
Or use "views" in case you want it to be done at database level.
saini arun
19-Jan-11 2:27am
View
Do not know why all replies were down voted. Countered all of them.
saini arun
15-Dec-10 7:44am
View
You are again asking the wrong question or probably in the wrong way. Have not you got enough down votes for your recent questions?
saini arun
14-Dec-10 6:36am
View
What do you get when you alert ddlPrv?
saini arun
14-Dec-10 6:31am
View
Ah! yes you are right. My bad.
saini arun
14-Dec-10 6:09am
View
Thanks for the correction.
Don't think it is necessary for a single line of code containing hardly 4 or 5 words.
saini arun
9-Dec-10 4:29am
View
May be you forgot to enable postback for drop down control.
Will be much clear by seeing your code.
saini arun
6-Dec-10 1:18am
View
What did you find on google?
saini arun
3-Dec-10 4:55am
View
Yes, I know that and agree it can be easily solved but at the end it is a bug. End user does not bother whether it is a Label or inside user control.
I was just concerned about the quality of the product if their website has such a straight forward issues those are very easy to be fixed. And having such type of issue in demo page is even worse.
It may not be the last known issue & you will need a good testing of the functionality.
All the best. :)
saini arun
3-Dec-10 2:37am
View
You can use it in your project but it seems to have some bugs. Like when the verification fails you get an error of "wrong verification" but you still can see message "You Given a Correct Answer." on the top of the control. Also, in case you enter any non numeric answer in the textbox, the UI gets distorted after clicking on Submit button.
You cant trust a product which have these types of straight forward issues in production mode expecially when you are going to use it for security purpose.
saini arun
29-Nov-10 3:22am
View
Please post the code which did not work.
saini arun
27-Nov-10 1:13am
View
Adding a flash menu and creating a flash menu, both are completely different. Do you want to add a flash menu in your webpage or create a flash menu in asp.net.
Creating a flash menu in asp.net is not possible without the help of any external tool.
saini arun
27-Nov-10 1:07am
View
What do you mean by "not working". Please specify exactly what error you are facing and only post the code which you think is related with the issue.
saini arun
27-Nov-10 1:00am
View
What do you want to achieve by generating Flash menu in asp.net? Please elaborate so that we can help you better.
saini arun
26-Nov-10 4:05am
View
Are you using update panels or any ajax control in your page?
saini arun
26-Nov-10 2:46am
View
Please also post the code for function popNewWindow
saini arun
26-Nov-10 2:06am
View
What error does it show in IE?
saini arun
3-Nov-10 8:11am
View
Nothing wrong but lounge/GIT is more suitable for this kind of discussion.
saini arun
3-Nov-10 7:33am
View
Yes, I agree.
But seems to be a bit harsh for imadadhusen. He replied in the same manner as other senior members must have replied for this type of question.
saini arun
3-Nov-10 7:19am
View
Deleted
This question now looks like a very interesting thread in GIT. It seems we all are in holiday mood :)
saini arun
3-Nov-10 6:57am
View
I am afraid "Tit for Tat" no going to help you here. You were the one who asked the question rudely first and invited the comments of the same flavor.
saini arun
1-Nov-10 3:26am
View
Please check the answer posted by madhukk below.
Putting multiple question marks in your question does not help you to get the answers any quickly.
saini arun
1-Nov-10 2:25am
View
He just wants you to set the default page for your website so that whenever you type the URL of the website without specifying any page the IIS knows which page to load.
There are many ways in which the default page can be set for a website.
In case you have a dedicated server for hosting your site, you can follow the procedure specified above by Imdadhusen.
In case you are using a shared server you can find the default page settings somewhere in the control manager page provided by the hosting company.
saini arun
30-Oct-10 3:33am
View
Minor formatting changes.
saini arun
28-Oct-10 7:05am
View
protected void SelectLastDateByMonthAndYear()
{
/// Convert the month & year values to int before passing them to GetDaysInMonth
int days = GetDaysInMonth(<selected value from month drop down>, <selected value from year drop down>);
ddlDate.Items.FindByText(days.ToString()).Selected = true;
}
saini arun
18-Oct-10 4:19am
View
We can save "<a href='test.com'>go to test.com</a>" in data base. The data type of the column will be varchar.
You can then bind above values to grid or any control to display hyperlink text to user.
saini arun
14-Oct-10 1:46am
View
My pleasure. :)
saini arun
13-Oct-10 9:05am
View
Please do not write in "txt-spk". This is considered as rude and will affect the number of positive replies you get for your query.
saini arun
12-Oct-10 2:02am
View
Disabling autopostback will restrict the control from calling selected_indexchanged in code behind.
saini arun
12-Oct-10 1:49am
View
Might be he is using two different browsers on both machine. May be a browser compatibility issue.
saini arun
12-Oct-10 1:48am
View
I think the other machine will also require the .Net framework. He did not mention that he deployed the application on web or intranet. He must be setting the website in IIS on the other one as he did on the first one.
saini arun
11-Oct-10 7:53am
View
Please post the HTML code generated for text field which uses calendar control to get the date.
saini arun
8-Oct-10 1:42am
View
Thanks :)
saini arun
7-Oct-10 3:36am
View
Right click on the page and select view source.
saini arun
6-Oct-10 4:01am
View
In which project you are getting the compile time error?
In the downloaded source code from article or in your project?
The source code downloaded from article compile and run absolutely fine on my end.
saini arun
6-Oct-10 3:51am
View
Repost.
saini arun
4-Oct-10 8:56am
View
Ok. Can you post your code which uses Pager Template but not able to produce the desired result?
saini arun
4-Oct-10 7:54am
View
You mean "update panel"?
saini arun
29-Sep-10 3:43am
View
Why only 1 vote for this answer?
Please specify if you need the complete code for this.
Show More