Click here to Skip to main content
12,698,253 members (23,155 online)

Comments by Sandesh M Patil (Top 188 by date)

Sandesh M Patil 2-Mar-15 7:39am View
Have you heard about WPF?
Sandesh M Patil 23-Feb-15 7:11am View
also add double quotes
$andesh M Patil 21-Oct-14 13:17pm View
This is ok. I am already using SSO technology for that. The problem is that there are two applications we need to handle one app is in while other is in DMS(document management system) i.e. Spring CM to which we dont have code access to maintain session states and cookies
$andesh M Patil 16-Jul-14 10:41am View
code i already provided
$andesh M Patil 16-Jul-14 10:10am View
i am working in dotnetnuke
$andesh M Patil 9-Jun-14 8:25am View
Oh come on, its a client requirement he dont want to save file on his own. Its his requirement that files will be automatically saved on his machine and he need to open only the excel file to check the candidate resumes
$andesh M Patil 5-Jun-14 9:03am View
Thanks Sergey, client requirement changed now.
$andesh M Patil 4-Oct-13 11:07am View
Clean the solution and rebuild it
$andesh M Patil 30-Sep-13 8:58am View

function ValidatePage() {

if (typeof (Page_ClientValidate) == 'function') {

if (page.IsValid) {
// do something
else {
// do something else
return false;

try to to use above code
$andesh M Patil 30-Sep-13 8:57am View
function ValidatePage() {

if (typeof (Page_ClientValidate) == 'function') {

if (page.IsValid) {
// do something
else {
// do something else
return false;

try to to use above code
$andesh M Patil 30-Sep-13 8:28am View
This function need to call on client side only.

Which function you used at server side.
$andesh M Patil 20-Sep-13 9:12am View
good one
$andesh M Patil 19-Sep-13 6:24am View
Reason for my vote of 5 \n Good one..
$andesh M Patil 17-Sep-13 8:37am View
WCF service method returns the data as i am debugging.

However at client end i am getting error.
$andesh M Patil 17-Sep-13 6:46am View
Messages.svclog is empty.

However Tracelog.svclog contains following basic error info.

Activity Name Process action ''.
Time 2013-09-17 16:14:40.6207
Level Error
Source System.ServiceModel
Process WebDev.WebServer40
Thread 4
Computer SANDESH
Trace Identifier/Code
$andesh M Patil 16-Sep-13 10:27am View
System.ServiceModel.Channels.HttpChannelUtilities.ProcessGetResponseWebException(WebException webException, HttpWebRequest request, HttpAbortReason abortReason)
System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout)
System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
MyInterviewQWCFClient.AnnetInterviewQ.IIQService.GetInterviewQ(Int32 yearsExprience)
MyInterviewQWCFClient.AnnetInterviewQ.IQServiceClient.GetInterviewQ(Int32 yearsExprience)
MyInterviewQWCFClient.WebForm1.Page_Load(Object sender, EventArgs e)
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)

System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
System.Web.UI.Control.OnLoad(EventArgs e)
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
System.Web.UI.Page.ProcessRequest(HttpContext context)
ASP.webform1_aspx.ProcessRequest(HttpContext context)
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
System.Web.HttpApplication.ApplicationStepManager.ResumeSteps(Exception error)
System.Web.HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)
System.Web.HttpRuntime.ProcessRequestNoDemand(HttpWorkerRequest wr)
System.Web.HttpRuntime.ProcessRequest(HttpWorkerRequest wr)
Microsoft.VisualStudio.WebHost.Host.ProcessRequest(Connection conn)

This is the trace log i received
$andesh M Patil 16-Sep-13 8:37am View
Thanks +5
$andesh M Patil 14-Sep-13 4:23am View
Is this control on master page? If yes you can find the master control on child page. If not, store the value in session and retrieve it.
SChristmas 18-Feb-13 9:40am View
have you installed flash player?
SChristmas 18-Feb-13 9:39am View
yes, read below this section

Remember, If you want convert VB6 to C# don't go with that option. Convert VB6 to VB.NET using VS wizard & make sure the code is working and then do VB.NET to C#
SChristmas 18-Feb-13 8:06am View
he want to convert the code of VB6 to C#
SChristmas 31-Jan-13 8:32am View
Dont save password in cookies. if this answer help you upvote it :)
SChristmas 31-Jan-13 5:56am View
SChristmas 31-Jan-13 5:46am View
the whole data get deleted
SChristmas 31-Jan-13 3:48am View
oh i mistakenly paste same two links here.
SChristmas 30-Jan-13 8:17am View
thanks :)
SChristmas 30-Jan-13 7:56am View
Are you asking how to bind the datagrid on the click of load button?
SChristmas 30-Jan-13 7:47am View
Good one
SChristmas 30-Jan-13 7:43am View
Nicely described Ankur :)
SChristmas 30-Jan-13 7:41am View
Good answer
SChristmas 30-Jan-13 7:22am View
Dont post same question multiple times
SChristmas 30-Jan-13 6:12am View
Hav you avr tri to implimennnt it wat you r sayying? Dont bottle abt my english now :P
SChristmas 25-Jan-13 8:37am View
Good catch OriginalGriff
SChristmas 25-Jan-13 6:43am View
Correct answer
SChristmas 24-Jan-13 9:26am View
you already resolved the problem by using following function,

public string convertQuotes(string str)
return str.Replace("'", "''");
SChristmas 24-Jan-13 8:40am View
Be specific. What exactly the error?
SChristmas 29-Oct-12 16:45pm View
Reason for my vote of 1
Very basic :(
SChristmas 25-Jun-12 4:39am View
All queries are correct. Whats the problem you are facing?
SChristmas 1-May-12 2:22am View
Good answer
SChristmas 22-Sep-11 5:18am View
Got that {0:$#,##0.00;(-$#,##0.00)} thanks
SChristmas 22-Sep-11 4:47am View
Not working :(
SChristmas 2-Aug-11 8:05am View
Please described in short
SChristmas 2-Aug-11 7:52am View
This is already posted
SChristmas 2-Aug-11 7:48am View
Nice answer
SChristmas 2-Aug-11 7:43am View
good answer
SChristmas 2-Aug-11 7:37am View
Use following code if it helps?

DdlDealerName.DataSource = dsDM.Tables[0].DefaultView;
DdlDealerName.DataTextField = "BUSINESS_NAME";
DdlDealerName.DataValueField = "BUSINESS_NAME";
SChristmas 11-Jul-11 7:34am View
Correct Answer
SChristmas 29-Jun-11 7:33am View
Reason for my vote of 5
Good tip
SChristmas 7-Jun-11 6:32am View
If you select the required font family in Dropdownlist, the focus will go on Dropdownlist and your selected text in textbox is not selected?
SChristmas 6-Jun-11 5:19am View
nice answer
SChristmas 1-Jun-11 11:29am View
SChristmas 10-Mar-11 3:54am View
Why you are not visiting GIT? Dont worry Hiren is not visiting GIT from a long time :)
SChristmas 10-Mar-11 3:48am View
Reason for my vote of 5
Great concept buddy
SChristmas 8-Feb-11 7:17am View
Reason for my vote of 3
poorly written
SChristmas 11-Jan-11 12:52pm View
Nicely described +5 from me
SChristmas 10-Jan-11 10:39am View
Thanks Espen
SChristmas 10-Jan-11 10:35am View
Thanks DD :)
SChristmas 10-Jan-11 10:15am View
I didnot get my 5 buddy
SChristmas 10-Jan-11 9:29am View
Good Answer
SChristmas 10-Jan-11 9:00am View
Good Answer
SChristmas 10-Jan-11 8:46am View
Good Answer sandeep
SChristmas 10-Jan-11 7:53am View
Nice answer
SChristmas 10-Jan-11 6:00am View
Edited for better readability
SChristmas 10-Jan-11 5:48am View
Edited for better readability
SChristmas 10-Jan-11 5:18am View
Good answer
SChristmas 7-Jan-11 10:55am View
Edited for better readability
SChristmas 7-Jan-11 9:18am View
Nice suggestion buddy and congrats for getting 1 lakh repo points :)
SChristmas 7-Jan-11 7:47am View
good answer JSOP
SChristmas 7-Jan-11 7:05am View
Yes it is possible. For web application we can add count for users in global.asax file
SChristmas 7-Jan-11 7:03am View
Edited for better readability
SChristmas 7-Jan-11 6:06am View
good link
SChristmas 7-Jan-11 6:06am View
Good answer
SChristmas 7-Jan-11 6:05am View
Good link
SChristmas 7-Jan-11 4:44am View
Edited for better understanding
SChristmas 7-Jan-11 4:22am View
Use silverlight with xml
SChristmas 7-Jan-11 3:56am View
buddy you are near to 1 lakh repo point. Best of luck ;)
SChristmas 7-Jan-11 3:55am View
good suggestion
SChristmas 7-Jan-11 3:50am View
nice answer
SChristmas 6-Jan-11 7:32am View
Edited for better understanding
SChristmas 6-Jan-11 7:30am View
good answer
SChristmas 6-Jan-11 6:57am View
I actually implement it when displaying check out On home page we are displaying the roles,address etc
SChristmas 6-Jan-11 6:40am View
Why you need that? Instead of all these 3 controls usercontrol, webpart and iframe why you need 4th alternative. Any specific reason
SChristmas 6-Jan-11 6:09am View
Edited for better understanding
SChristmas 6-Jan-11 5:48am View
Improved for better understanding
SChristmas 6-Jan-11 5:17am View
Add Global.asax. Use session.sessionid to differentiate between different users.
SChristmas 6-Jan-11 5:14am View
good answer
SChristmas 5-Jan-11 11:26am View
the second argument is length
and as i write endind=length. It finds the index of x
SChristmas 5-Jan-11 9:14am View
Nice answer ;)
SChristmas 5-Jan-11 9:12am View
SChristmas 5-Jan-11 9:03am View
Are you dispose the connection.
Like connection.dispose()
SChristmas 5-Jan-11 8:36am View
good answer
SChristmas 5-Jan-11 7:52am View
You create a facebook like application how you are not able to implement post to wall fuctionality. Anyway use gridview control just a hint
SChristmas 5-Jan-11 7:43am View
Anyway i was not downvoting you
SChristmas 5-Jan-11 7:35am View
Buddy i already answer the same solution :|
SChristmas 5-Jan-11 6:57am View
5 good answer
SChristmas 5-Jan-11 6:14am View
Thanks mate
SChristmas 5-Jan-11 6:13am View
No one going to see the whole code. Specify what type of error you are getting
SChristmas 4-Jan-11 3:32am View
Reason for my vote of 1
remove your alternate
SChristmas 4-Jan-11 3:32am View
If you want to add comment then use add comment dont add it in Alternate
SChristmas 23-Dec-10 12:04pm View
Reason for my vote of 3
difficult to understand
SChristmas 23-Dec-10 12:02pm View
Reason for my vote of 5
nice alternate
SChristmas 23-Dec-10 11:32am View
Reason for my vote of 5
nice tip
SChristmas 23-Dec-10 10:03am View
Yes it works
SChristmas 21-Dec-10 12:23pm View
Oh its your sole opinion then, in large oranisation most of the time testers reports this error.
SChristmas 19-Dec-10 5:40am View
Reason for my vote of 5
Good one. This question was asked by many members
SChristmas 16-Dec-10 5:35am View
Reason for my vote of 1
Please describe the alternate
SChristmas 15-Dec-10 11:53am View
Thanks for correction.
SChristmas 13-Dec-10 10:43am View
Add comment instead to write in answer section
SChristmas 13-Dec-10 10:33am View
You mean you dont want to post back the page on the click of second button?
SChristmas 13-Dec-10 10:30am View
Add code block
SChristmas 13-Dec-10 10:26am View
Accept the answer if it was correct
SChristmas 13-Dec-10 8:46am View
What is your question?
SChristmas 13-Dec-10 8:11am View
No one is going to read whole code.
SChristmas 13-Dec-10 7:40am View
good answer
SChristmas 13-Dec-10 3:42am View
My answer is not wrong
SChristmas 12-Dec-10 13:54pm View
They only said use google but not show how to use it. Remove your downvote, some people dont want to search google.
SChristmas 10-Dec-10 5:40am View
correct answer
SChristmas 9-Dec-10 11:45am View
Its really confusing, please elaborate
SChristmas 6-Dec-10 14:04pm View
correct answer
SChristmas 6-Dec-10 10:07am View
Please provide the alternate if you have. I am storing this part in to database and retrieving the HTML content and displaying it in a pop up window on the click of a link of another page.
SChristmas 3-Dec-10 8:31am View
Reason for my vote of 4
Good Tip
SChristmas 26-Nov-10 10:27am View
Thanks kunal
SChristmas 23-Nov-10 3:24am View
Reason for my vote of 5
Very nice alternative
SChristmas 18-Nov-10 8:22am View
Is your brain turned on? What do you mean. dont write such thing. Also if you have question write in a comment not in the answer section.
SChristmas 18-Nov-10 7:56am View
Please elaborate your question. What is the mode your are using for maintaining session state
SChristmas 18-Nov-10 7:46am View
5 from me for correct answer
SChristmas 18-Nov-10 7:44am View
I was not down voting you sorry for prev comment ;(
SChristmas 18-Nov-10 7:39am View
Its not googled correctly. Its googled for app_c. Also i was NOT down voting you ;)
SChristmas 18-Nov-10 7:37am View
I add a hint here he can add mode="InProc" also if he want. However he mention Sql server 2005. Thats why i considered while giving a solution :)
SChristmas 18-Nov-10 6:58am View
you can put common function there inside the class name.

Ex. Employee class

Class Employee
public bool AddEmployee(int EmpId, string name, string address)
public bool deleteEmployee(int EmpId)

you can access this functions by creating an object of that class anywhere in your project.
SChristmas 15-Nov-10 9:09am View
Dont write your question in answer box. Please add comment
SChristmas 14-Nov-10 5:13am View
good one raju
SChristmas 14-Nov-10 4:56am View
Page not found is coming
SChristmas 13-Nov-10 6:57am View
Are you talking IsPostBack method?
SChristmas 12-Nov-10 9:57am View
Thanks raja and raju
SChristmas 12-Nov-10 9:41am View
Updated for better understanding. Simple solution
SChristmas 11-Nov-10 10:03am View
There are lots of book. You can start Microsoft development kit, Wrox publications
SChristmas 11-Nov-10 9:50am View
Man you are violating copy right issues here, delete your question
SChristmas 11-Nov-10 5:11am View
you need to write this application in assembly language not in .net
SChristmas 30-Oct-10 4:05am View
you are accessing it in different browser?
SChristmas 30-Oct-10 3:59am View
Please describe your question, dont get it.
SChristmas 27-Oct-10 13:48pm View
5 ved you both guys. Right answer
SChristmas 27-Oct-10 13:45pm View
Please elaborate, dont understand what are you trying to say.
S M P 11-Oct-10 11:58am View
Sandeep you are not visiting GIT from a long time, why so?
S M P 3-Oct-10 7:19am View
Reason for my vote of 2
it can be easily find out on google
S M P 3-Oct-10 7:00am View
so you have the solution dude, try it
S M P 3-Oct-10 6:40am View
did you mean how to bind data to a particular column of gridview in design view of the page?
S M P 9-Sep-10 7:15am View
someone called me sandeep today in office ;) what a coincidence

Sandeep not referring to you, one of colleague name is sandeep patel :)
S M P 9-Sep-10 6:08am View
Good answer
S M P 2-Sep-10 4:30am View
Oh i didn't understand YUI(Yahoo User Interface) my mistake. Never heard about it before.
S M P 1-Sep-10 11:54am View
Reason for my vote of 5
Good Answer
S M P 1-Sep-10 11:48am View
Modify question for better understanding
S M P 1-Sep-10 11:43am View
did not understand please explain...provide some code
S M P 1-Sep-10 11:21am View
Reason for my vote of 1
I am getting Help window...what r you trying to say please explain
S M P 1-Sep-10 7:43am View
Reason for my vote of 5
Oh good, i did not know about that
S M P 1-Sep-10 7:10am View
Ajax means asynchronus javascript with xml which include javascript..
S M P 1-Sep-10 6:35am View
He is asking how to check a valid url i think
S M P 1-Sep-10 4:53am View
Ok my mistake then, i didn't see such network crendentials till today
S M P 31-Aug-10 10:03am View
Please write your code in code block
S M P 31-Aug-10 7:44am View
Add cooment to Al-Farooque Shubho answer. dont write in answer section.
S M P 30-Aug-10 12:04pm View
Reason for my vote of 5
S M P 30-Aug-10 12:02pm View
you want to say that you are trying to create XML based treeview with checkboxes right?
S M P 30-Aug-10 11:55am View
Provide code to elaborate or visit Hidi forum to help u
S M P 30-Aug-10 8:28am View
Please visit
General India Topics section of Code Project and ask your questions there.

Please post your question there, lots of guys there to help u. Do not hesitate.
S M P 30-Aug-10 8:10am View
Thanks Ankur
S M P 30-Aug-10 8:04am View
Dim DataSet As New myDS

what is this? you have to declare it as

Dim myDS As New DataSet

And also Dim SqlDataAdapter As New mySDA this one

you didnt get errors on this lines?

Please visit
General India Topics section of Code Project and ask your questions there.
S M P 30-Aug-10 7:49am View
Please provide the code after analysing it, i will tell u.
S M P 27-Aug-10 8:04am View
see below he needs the solution with Ajax toolkit(Means he now want to use Ajax Toolkit). I think he confuse us a lot.
S M P 27-Aug-10 6:04am View
Change part of the question.
Sandesh M Patil 26-Aug-10 9:58am View
Please elaborate your question which errors occurred and provide code.
Sandesh M Patil 26-Aug-10 9:25am View
Oh you are welcome. Please visit hindi forum below is the link
Sandesh M Patil 26-Aug-10 8:38am View
Javascript is enabled.
What you are trying to say uncheck the disable script debugging option.
till the problem persist.

And i said before it runs on another machine without an error. So it must not web.config problem.

Please elaborate your answer. Thanks for your answer
Sandesh M Patil 26-Aug-10 5:37am View
See buudy, Requirefield validator is useful when we want to validate at both side i.e. Client and server side. However it makes load on the page means page require time to load but javascript get compiled when page first time load and so javascript makes validation faster and page performance increases
Sandesh M Patil 25-Aug-10 11:17am View
Please give us some code here to elaborate
Sandesh M Patil 25-Aug-10 8:13am View
So you ask question and also giving answer....:)

Why u ask the question then?
Sandesh M Patil 25-Aug-10 7:16am View
Expand your question that ll be more helpful.
Sandesh M Patil 25-Aug-10 7:14am View
So in Browser control you are getting wrong path of xml?

Do you select the XML file in browser control?
Sandesh M Patil 25-Aug-10 6:44am View
Thanks Dalek, Its an honour to have your comment.
Sandesh M Patil 25-Aug-10 6:22am View
wat if he want to use javascript insted of using regular expression validator?
Sandesh M Patil 24-Aug-10 13:22pm View
digital man, sorry about my comment but if you are getting happiness in doing a newbie down voted so that he will never post his question here again then go on dude.(See his score this is not Lounge)
Sandesh M Patil 24-Aug-10 11:46am View
Reason for my vote of 1
May be he dont have access to google
Sandesh M Patil 24-Aug-10 11:44am View
He is a newbie and we must suggest him politely that please dont post your name in the title if he will do the same mistake again then Vote 1.
Sandesh M Patil 24-Aug-10 7:18am View
Thanks Farrooque It was really helful, Happy Ramadan
Sandesh M Patil 23-Aug-10 12:02pm View
Reason for my vote of 5
Sandesh M Patil 23-Aug-10 11:59am View
I check the properties of the web site and in Application tab find Target framework where i try to change the version of the prj from 2.0 to 3.5.

But it doesnot allow me displaying message unable to save changes to web.config. Can you please give me the steps..It ll be helpful.

Thanks for your reply
Sandesh M Patil 23-Aug-10 7:28am View
Web reference System.Web.extensions to the project. It is seen in the add reference pop up window but but when i select it the ok button is not enabled.
Sandesh M Patil 27-Jul-10 11:33am View
Reason for my vote of 1
i m asking in .Net
Sandesh M Patil 27-Jul-10 11:31am View
Reason for my vote of 5
It is runtime which takes care of the code execution

Advertise | Privacy | Mobile
Web02 | 2.8.170118.1 | Last Updated 1 Jan 1900
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid