Click here to Skip to main content
15,352,974 members

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
Sandesh 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
Sandesh M Patil 16-Jul-14 10:41am View
code i already provided
Sandesh M Patil 16-Jul-14 10:10am View
i am working in dotnetnuke
Sandesh 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
Sandesh M Patil 5-Jun-14 9:03am View
Thanks Sergey, client requirement changed now.
Sandesh M Patil 4-Oct-13 11:07am View
Clean the solution and rebuild it
Sandesh 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
Sandesh 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
Sandesh M Patil 30-Sep-13 8:28am View
This function need to call on client side only.

Which function you used at server side.
Sandesh M Patil 20-Sep-13 9:12am View
good one
Sandesh M Patil 19-Sep-13 6:24am View
Reason for my vote of 5 \n Good one..
Sandesh 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.
Sandesh 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
Sandesh 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
Sandesh M Patil 16-Sep-13 8:37am View
Thanks +5
Sandesh 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.
Sandesh M Patil 18-Feb-13 9:40am View
have you installed flash player?
Sandesh M Patil 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#
Sandesh M Patil 18-Feb-13 8:06am View
he want to convert the code of VB6 to C#
Sandesh M Patil 31-Jan-13 8:32am View
Dont save password in cookies. if this answer help you upvote it :)
Sandesh M Patil 31-Jan-13 5:56am View
Sandesh M Patil 31-Jan-13 5:46am View
the whole data get deleted
Sandesh M Patil 31-Jan-13 3:48am View
oh i mistakenly paste same two links here.
Sandesh M Patil 30-Jan-13 8:17am View
thanks :)
Sandesh M Patil 30-Jan-13 7:56am View
Are you asking how to bind the datagrid on the click of load button?
Sandesh M Patil 30-Jan-13 7:47am View
Good one
Sandesh M Patil 30-Jan-13 7:43am View
Nicely described Ankur :)
Sandesh M Patil 30-Jan-13 7:41am View
Good answer
Sandesh M Patil 30-Jan-13 7:22am View
Dont post same question multiple times
Sandesh M Patil 30-Jan-13 6:12am View
Hav you avr tri to implimennnt it wat you r sayying? Dont bottle abt my english now :P
Sandesh M Patil 25-Jan-13 8:37am View
Good catch OriginalGriff
Sandesh M Patil 25-Jan-13 6:43am View
Correct answer
Sandesh M Patil 24-Jan-13 9:26am View
you already resolved the problem by using following function,

public string convertQuotes(string str)
return str.Replace("'", "''");
Sandesh M Patil 24-Jan-13 8:40am View
Be specific. What exactly the error?
Sandesh M Patil 29-Oct-12 16:45pm View
Reason for my vote of 1
Very basic :(
Sandesh M Patil 25-Jun-12 4:39am View
All queries are correct. Whats the problem you are facing?
Sandesh M Patil 1-May-12 2:22am View
Good answer
Sandesh M Patil 22-Sep-11 5:18am View
Got that {0:$#,##0.00;(-$#,##0.00)} thanks
Sandesh M Patil 22-Sep-11 4:47am View
Not working :(
Sandesh M Patil 2-Aug-11 8:05am View
Please described in short
Sandesh M Patil 2-Aug-11 7:52am View
This is already posted
Sandesh M Patil 2-Aug-11 7:48am View
Nice answer
Sandesh M Patil 2-Aug-11 7:43am View
good answer
Sandesh M Patil 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";
Sandesh M Patil 11-Jul-11 7:34am View
Correct Answer
Sandesh M Patil 29-Jun-11 7:33am View
Reason for my vote of 5
Good tip
Sandesh M Patil 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?
Sandesh M Patil 6-Jun-11 5:19am View
nice answer
Sandesh M Patil 1-Jun-11 11:29am View
Sandesh M Patil 10-Mar-11 3:54am View
Why you are not visiting GIT? Dont worry Hiren is not visiting GIT from a long time :)
Sandesh M Patil 10-Mar-11 3:48am View
Reason for my vote of 5
Great concept buddy
Sandesh M Patil 8-Feb-11 7:17am View
Reason for my vote of 3
poorly written
Sandesh M Patil 11-Jan-11 12:52pm View
Nicely described +5 from me
Sandesh M Patil 10-Jan-11 10:39am View
Thanks Espen
Sandesh M Patil 10-Jan-11 10:35am View
Thanks DD :)
Sandesh M Patil 10-Jan-11 10:15am View
I didnot get my 5 buddy
Sandesh M Patil 10-Jan-11 9:29am View
Good Answer
Sandesh M Patil 10-Jan-11 9:00am View
Good Answer
Sandesh M Patil 10-Jan-11 8:46am View
Good Answer sandeep
Sandesh M Patil 10-Jan-11 7:53am View
Nice answer
Sandesh M Patil 10-Jan-11 6:00am View
Edited for better readability
Sandesh M Patil 10-Jan-11 5:48am View
Edited for better readability
Sandesh M Patil 10-Jan-11 5:18am View
Good answer
Sandesh M Patil 7-Jan-11 10:55am View
Edited for better readability
Sandesh M Patil 7-Jan-11 9:18am View
Nice suggestion buddy and congrats for getting 1 lakh repo points :)
Sandesh M Patil 7-Jan-11 7:47am View
good answer JSOP
Sandesh M Patil 7-Jan-11 7:05am View
Yes it is possible. For web application we can add count for users in global.asax file
Sandesh M Patil 7-Jan-11 7:03am View
Edited for better readability
Sandesh M Patil 7-Jan-11 6:06am View
good link
Sandesh M Patil 7-Jan-11 6:06am View
Good answer
Sandesh M Patil 7-Jan-11 6:05am View
Good link
Sandesh M Patil 7-Jan-11 4:44am View
Edited for better understanding
Sandesh M Patil 7-Jan-11 4:22am View
Use silverlight with xml
Sandesh M Patil 7-Jan-11 3:56am View
buddy you are near to 1 lakh repo point. Best of luck ;)
Sandesh M Patil 7-Jan-11 3:55am View
good suggestion
Sandesh M Patil 7-Jan-11 3:50am View
nice answer
Sandesh M Patil 6-Jan-11 7:32am View
Edited for better understanding
Sandesh M Patil 6-Jan-11 7:30am View
good answer
Sandesh M Patil 6-Jan-11 6:57am View
I actually implement it when displaying check out On home page we are displaying the roles,address etc
Sandesh M Patil 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
Sandesh M Patil 6-Jan-11 6:09am View
Edited for better understanding
Sandesh M Patil 6-Jan-11 5:48am View
Improved for better understanding
Sandesh M Patil 6-Jan-11 5:17am View
Add Global.asax. Use session.sessionid to differentiate between different users.
Sandesh M Patil 6-Jan-11 5:14am View
good answer
Sandesh M Patil 5-Jan-11 11:26am View
the second argument is length
and as i write endind=length. It finds the index of x
Sandesh M Patil 5-Jan-11 9:14am View
Nice answer ;)
Sandesh M Patil 5-Jan-11 9:12am View
Sandesh M Patil 5-Jan-11 9:03am View
Are you dispose the connection.
Like connection.dispose()
Sandesh M Patil 5-Jan-11 8:36am View
good answer
Sandesh M Patil 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
Sandesh M Patil 5-Jan-11 7:43am View
Anyway i was not downvoting you
Sandesh M Patil 5-Jan-11 7:35am View
Buddy i already answer the same solution :|
Sandesh M Patil 5-Jan-11 6:57am View
5 good answer
Sandesh M Patil 5-Jan-11 6:14am View
Thanks mate
Sandesh M Patil 5-Jan-11 6:13am View
No one going to see the whole code. Specify what type of error you are getting
Sandesh M Patil 4-Jan-11 3:32am View
Reason for my vote of 1
remove your alternate
Sandesh M Patil 4-Jan-11 3:32am View
If you want to add comment then use add comment dont add it in Alternate
Sandesh M Patil 23-Dec-10 12:04pm View
Reason for my vote of 3
difficult to understand
Sandesh M Patil 23-Dec-10 12:02pm View
Reason for my vote of 5
nice alternate
Sandesh M Patil 23-Dec-10 11:32am View
Reason for my vote of 5
nice tip
Sandesh M Patil 23-Dec-10 10:03am View
Yes it works
Sandesh M Patil 21-Dec-10 12:23pm View
Oh its your sole opinion then, in large oranisation most of the time testers reports this error.
Sandesh M Patil 19-Dec-10 5:40am View
Reason for my vote of 5
Good one. This question was asked by many members
Sandesh M Patil 16-Dec-10 5:35am View
Reason for my vote of 1
Please describe the alternate
Sandesh M Patil 15-Dec-10 11:53am View
Thanks for correction.
Sandesh M Patil 13-Dec-10 10:43am View
Add comment instead to write in answer section
Sandesh M Patil 13-Dec-10 10:33am View
You mean you dont want to post back the page on the click of second button?
Sandesh M Patil 13-Dec-10 10:30am View
Add code block
Sandesh M Patil 13-Dec-10 10:26am View
Accept the answer if it was correct
Sandesh M Patil 13-Dec-10 8:46am View
What is your question?
Sandesh M Patil 13-Dec-10 8:11am View
No one is going to read whole code.
Sandesh M Patil 13-Dec-10 7:40am View
good answer
Sandesh M Patil 13-Dec-10 3:42am View
My answer is not wrong
Sandesh M Patil 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.
Sandesh M Patil 10-Dec-10 5:40am View
correct answer
Sandesh M Patil 9-Dec-10 11:45am View
Its really confusing, please elaborate
Sandesh M Patil 6-Dec-10 14:04pm View
correct answer
Sandesh M Patil 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.
Sandesh M Patil 3-Dec-10 8:31am View
Reason for my vote of 4
Good Tip
Sandesh M Patil 26-Nov-10 10:27am View
Thanks kunal
Sandesh M Patil 23-Nov-10 3:24am View
Reason for my vote of 5
Very nice alternative
Sandesh M Patil 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.
Sandesh M Patil 18-Nov-10 7:56am View
Please elaborate your question. What is the mode your are using for maintaining session state
Sandesh M Patil 18-Nov-10 7:46am View
5 from me for correct answer
Sandesh M Patil 18-Nov-10 7:44am View
I was not down voting you sorry for prev comment ;(
Sandesh M Patil 18-Nov-10 7:39am View
Its not googled correctly. Its googled for app_c. Also i was NOT down voting you ;)
Sandesh M Patil 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 :)
Sandesh M Patil 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.
Sandesh M Patil 15-Nov-10 9:09am View
Dont write your question in answer box. Please add comment
Sandesh M Patil 14-Nov-10 5:13am View
good one raju
Sandesh M Patil 14-Nov-10 4:56am View
Page not found is coming
Sandesh M Patil 13-Nov-10 6:57am View
Are you talking IsPostBack method?
Sandesh M Patil 12-Nov-10 9:57am View
Thanks raja and raju
Sandesh M Patil 12-Nov-10 9:41am View
Updated for better understanding. Simple solution
Sandesh M Patil 11-Nov-10 10:03am View
There are lots of book. You can start Microsoft development kit, Wrox publications
Sandesh M Patil 11-Nov-10 9:50am View
Man you are violating copy right issues here, delete your question
Sandesh M Patil 11-Nov-10 5:11am View
you need to write this application in assembly language not in .net
Sandesh M Patil 30-Oct-10 4:05am View
you are accessing it in different browser?
Sandesh M Patil 30-Oct-10 3:59am View
Please describe your question, dont get it.
Sandesh M Patil 27-Oct-10 13:48pm View
5 ved you both guys. Right answer
Sandesh M Patil 27-Oct-10 13:45pm View
Please elaborate, dont understand what are you trying to say.
Sandesh M Patil 11-Oct-10 11:58am View
Sandeep you are not visiting GIT from a long time, why so?
Sandesh M Patil 3-Oct-10 7:19am View
Reason for my vote of 2
it can be easily find out on google
Sandesh M Patil 3-Oct-10 7:00am View
so you have the solution dude, try it
Sandesh M Patil 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?
Sandesh M Patil 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 :)
Sandesh M Patil 9-Sep-10 6:08am View
Good answer
Sandesh M Patil 2-Sep-10 4:30am View
Oh i didn't understand YUI(Yahoo User Interface) my mistake. Never heard about it before.
Sandesh M Patil 1-Sep-10 11:54am View
Reason for my vote of 5
Good Answer
Sandesh M Patil 1-Sep-10 11:48am View
Modify question for better understanding
Sandesh M Patil 1-Sep-10 11:43am View
did not understand please explain...provide some code
Sandesh M Patil 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
Sandesh M Patil 1-Sep-10 7:43am View
Reason for my vote of 5
Oh good, i did not know about that
Sandesh M Patil 1-Sep-10 7:10am View
Ajax means asynchronus javascript with xml which include javascript..
Sandesh M Patil 1-Sep-10 6:35am View
He is asking how to check a valid url i think
Sandesh M Patil 1-Sep-10 4:53am View
Ok my mistake then, i didn't see such network crendentials till today
Sandesh M Patil 31-Aug-10 10:03am View
Please write your code in code block
Sandesh M Patil 31-Aug-10 7:44am View
Add cooment to Al-Farooque Shubho answer. dont write in answer section.
Sandesh M Patil 30-Aug-10 12:04pm View
Reason for my vote of 5
Sandesh M Patil 30-Aug-10 12:02pm View
you want to say that you are trying to create XML based treeview with checkboxes right?
Sandesh M Patil 30-Aug-10 11:55am View
Provide code to elaborate or visit Hidi forum to help u
Sandesh M Patil 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.
Sandesh M Patil 30-Aug-10 8:10am View
Thanks Ankur
Sandesh M Patil 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.
Sandesh M Patil 30-Aug-10 7:49am View
Please provide the code after analysing it, i will tell u.
Sandesh M Patil 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.
Sandesh M Patil 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