15,899,825 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 Samresh.ss (Top 54 by date)
Samresh.ss
26-Sep-13 2:38am
View
put a debugger and check if the url assigned to imageurl is the proper one.
Samresh.ss
26-Sep-13 2:36am
View
Iterate from 100 to 200. Check each number if divisible by 7. If yes add to result.
Samresh.ss
27-Aug-13 10:53am
View
You can get the index of email id to remove by getting your currrent cursor position
I think this might help
http://stackoverflow.com/questions/2897155/get-cursor-position-within-an-text-input-field
Apologies for replying so late as I was off the grid.
Samresh.ss
8-Aug-13 2:24am
View
Save it in a database.
Samresh.ss
2-Aug-13 8:44am
View
code you have tried would be helpful
Samresh.ss
2-Aug-13 8:43am
View
yes right :)
Samresh.ss
2-Aug-13 8:32am
View
must be an empty return. why don't you debug if the facility is there
Samresh.ss
2-Aug-13 5:45am
View
The statements will execute one by one.
Samresh.ss
2-Aug-13 5:43am
View
What do you mean by resolution from TFS?
Samresh.ss
2-Aug-13 5:38am
View
What do you wish to achieve?
Samresh.ss
2-Aug-13 2:36am
View
Dynamic controls have to be recreated in post back scenarios before page load.
refer - https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&ved=0CCwQFjAA&url=http%3A%2F%2Fforums.asp.net%2Ft%2Fnext%2F1250928&ei=51L7Ue_SOszLrQfo9YCAAw&usg=AFQjCNEmAsCtiJ86Umo1dXXuosLgbJyAmg&bvm=bv.50165853,d.bmk
Samresh.ss
31-Jul-13 7:30am
View
Please refer to -
http://www.codeproject.com/Articles/31994/Beginners-Introduction-to-State-Management-Techniq
Samresh.ss
31-Jul-13 2:43am
View
Something is not very clear about the approach. Please elaborate.
Samresh.ss
29-Jul-13 6:35am
View
You can write a windows service for this
Samresh.ss
29-Jul-13 6:19am
View
Any code you have already tried.
Samresh.ss
29-Jul-13 6:16am
View
No you would have to handle it
Samresh.ss
25-Jul-13 7:57am
View
Any code samples you have already used.
Samresh.ss
25-Jul-13 7:56am
View
You can write a program that iterates through the subdirectories and copy it to pc2. On pc1 you can map a drive to pc2. That way you can use it, as you use your file system. If there are directories withing sub directories you can write a recursive program to achieve so.
Samresh.ss
24-Jul-13 9:12am
View
GetSelectedIndices() returns An array of integers, each representing the index of a selected item in the list box.
ref - http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.listbox.getselectedindices.aspx
So when you select an item and have a count() on getselectedindices(), it will return you 1, as you selected 1 item.
You can use SelectedIndex property instead.
Samresh.ss
24-Jul-13 9:04am
View
what do you wish to do. Its not clear in here
Samresh.ss
22-Jul-13 9:06am
View
Fetch the template from the database. You can write a helper class that replaces placeholders with your real value.
Samresh.ss
22-Jul-13 6:40am
View
System.Net.Mail namespace has what you require. http://weblogs.asp.net/scottgu/archive/2005/12/10/432854.aspx
Samresh.ss
22-Jul-13 6:38am
View
What do you mean by highlight. Do you mean a zoomed in effect
Samresh.ss
22-Jul-13 6:24am
View
A bit of details would be helpful
Samresh.ss
12-Jul-13 8:38am
View
What have u planned or executed as of now. That would be helpful in suggesting.
Samresh.ss
12-Jul-13 8:34am
View
Remove the Text property and add the ErrorMessage property
Samresh.ss
12-Jul-13 2:05am
View
$(source) wraps the element that raised your event(your customvalidator) in this case into a jquery object. This allows you to use jquery methods to your objects. prev() gives your previous element in DOM. so calling prev() on prev() gives you previous to previous element.
So: $(source).prev().prev().prev().text(); gives you text of your label.
You can get the element by other methods also. I used this approach so that the same method can be used for all your input elements in the form.
Samresh.ss
10-Jul-13 9:38am
View
You might want to use CustomValidator then with a single Client validation function for all.
The function would check if the input element holds something, if not pick its previous element (label) and add a '*' if not there, else remove the '*'
Samresh.ss
10-Jul-13 9:07am
View
You can refer here
http://stackoverflow.com/questions/15459187/iframe-cross-domain-access
http://enable-cors.org/
Samresh.ss
10-Jul-13 8:59am
View
IBM's AppScan is one tool
Samresh.ss
10-Jul-13 8:55am
View
Some sample of code you are working on will be helpful
Samresh.ss
9-Jul-13 5:35am
View
I don't exactly see what is being asked in the question
Samresh.ss
9-Jul-13 5:28am
View
setTimeout works in my version of chrome. Must be some other issue. Press ctrl+shift+J and see if you see some error in console.
Samresh.ss
9-Jul-13 5:14am
View
I think you can only put cursor on input tags with type='text', because that element is what is meant to take input.
Samresh.ss
9-Jul-13 3:04am
View
You need a commandfield to have event raised.
refer: http://www.codeproject.com/Questions/510755/GridViewplusSelectedindexplusChangedplusEventplusn
Samresh.ss
5-Jul-13 5:34am
View
Here is a good article on session management http://www.codeproject.com/Articles/416137/Understanding-Session-Management-Techniques-in-ASP
Samresh.ss
17-Jun-13 6:44am
View
You can refer the methods to import here
http://msdn.microsoft.com/en-us/library/ms140052.aspx
Samresh.ss
4-Jun-13 1:09am
View
Why don't you fill up the grid in the first place, if it is not dynamic.
Samresh.ss
24-May-13 12:23pm
View
You can use regex
Samresh.ss
24-May-13 5:47am
View
I think he is using search and replace in an editor and not in code.
Samresh.ss
24-May-13 5:30am
View
The answer is an attempt to help the person out with his/her question.
Samresh.ss
24-May-13 3:09am
View
question is very open ended. It would be nice to have some specifics
Samresh.ss
24-May-13 2:59am
View
Make an inner join on test1.suid and test2.suid
Samresh.ss
22-May-13 6:34am
View
You can use an autocompleteextender from ajax control toolkit.
http://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/AutoComplete/AutoComplete.aspx
Samresh.ss
20-May-13 12:11pm
View
just add as shown in example below
<asp:TextBox ID="TextBox11" runat="server" style="resize:none;" />
And people .. Try before downvoting
Samresh.ss
20-May-13 2:46am
View
What exactly you wish to achieve. Please elaborate.
Samresh.ss
17-May-13 6:28am
View
Event validation is done most probably using a hidden field by the name and id of
name="__EVENTVALIDATION" id="__EVENTVALIDATION". I don't see viewstate and eventvalidation being related.
Samresh.ss
16-May-13 2:46am
View
'Object reference not set to an instance of an object' exception is only thrown when a property or a method is called on a reference, wherein the reference is null and not pointing to an object.
Some code sample will be helpful
Samresh.ss
15-May-13 3:07am
View
I think the objective is to emulate the Window's Calculator 'Edit > Copy' option
Samresh.ss
7-May-13 2:05am
View
Refer to
here
and see if it's helpful
Samresh.ss
12-Apr-13 8:31am
View
Seems the best way to achieve it.
Samresh.ss
13-Dec-11 1:07am
View
It's not that I want to execute the question a particular number of times. The point is I saw this code somewhere and my instant thought was the function would be called recursively infinite number of times. But actually on running it was called only once. That's why I wanted to understand - why this behavior
Samresh.ss
12-Dec-11 18:09pm
View
Yes sir. Thats my question. It should become recursive. But it doesn't. That is my query actually. Why doesn't it.
Samresh.ss
12-Dec-11 14:52pm
View
Thanks. But I wanted to call testJSfunc again inside the testJSfunc by getting the button object(btnTest) and calling click() on it. Or am I missing something.
Show More