15,887,410 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 Avinash6474 (Top 41 by date)
Avinash6474
23-May-16 3:08am
View
Hi Santosh,
Thank you for your time.
It will add a space between one and two value but I want to apply space between each character in field.
Avinash6474
6-May-16 10:03am
View
Thank you
Avinash6474
29-Oct-15 2:17am
View
Thanks , used Fiddler to track network call. It was a firewall issue
Avinash6474
29-Oct-15 2:16am
View
Thank you for your suggestions.
Avinash6474
20-Oct-15 7:00am
View
How to do it for selected tables?
Avinash6474
19-Feb-15 7:30am
View
I got your point.
Thank you so much :)
-Avinash
Avinash6474
19-Feb-15 6:24am
View
Thanks for your immediate response..
The value loaded in this control are dependent on another drop down selected value. So on dropDown1_selectedIndexChange the values are bind with dropDowncheckListBox.
Now when there is any action happening on page ex: any other drop down selection the page is getting post back and value resetting.
Avinash6474
27-Jan-15 6:21am
View
HI,
I am having 5 drop downs on page,out of 2 will fill at page_load and remaining will fill on selected_index_change of resp drop downs.
When used jquery on selection of item the drop downs are resetting to original and loosing the selected values.
How to overcome this?
Avinash6474
27-Jan-15 6:17am
View
Once data added to drop down list , on SelectedIndex_Change event the page will get post back and the selected item from drop down will be reset again.
How to over come this with?
If used all code behind technique then the drop down will keep selection after postback too. but with jQuery it is resetting all drop down values to original.
If I have 6-7 drop down on page and every time on selection if page is getting postback then how to keep previous selected values?
Avinash6474
22-Jan-15 12:39pm
View
If I am using any other asp.net control on page and because of that control if page is reloading then how to maintain state of controls.
I have drop down and dependent drop down controls so if page is reloading then selected values are resetting to original. How to overcome this?
If you have any link of example pks share . It will help lot.
Thanks.!
Avinash6474
13-Jan-15 5:15am
View
Is there any way to preserve selected values?
Because if there is any other action(other than drop down selection) happening on page and page is geting postback then values from drop downs are getting initialized again. Losing selected values. :(
Avinash6474
13-Jan-15 4:57am
View
Hi,
Yes I have this condition in code
Avinash6474
12-Jan-15 1:34am
View
Thanks for your suggestion Jameel. :)
-Avinash
Avinash6474
18-Dec-13 5:50am
View
Thank you so much :) , Its working fine now.
Avinash6474
18-Dec-13 0:38am
View
Is SSL certificate is having any file size limit, which is causing an issue?
Avinash6474
17-Dec-13 6:12am
View
Installed VS 2012 it resolved all issues.
Avinash6474
14-Nov-13 22:38pm
View
Thanks for your response.
I am aware about this method to get location details, but I want to do it from c#.net console application. In .net how to use Google API to get location details by passing latitude and longitude?
Avinash6474
18-Oct-13 23:54pm
View
Thank you
Avinash6474
19-Aug-13 4:33am
View
Thanks for your suggestion. IT help me lot to understand concept.
I am having a wcf service which was working on basicHttpbinding, now iif I want to host on https IIS what changes are required to do in server config and client config.
--Avinash
Avinash6474
26-Jul-13 7:02am
View
The calles are from HTML pages, thats why I am using jquery to call WCF service.
In this case HTML pags are the client which are making request to service and getting response.
The client web application is collection of web pages which are making call to wcf services. which is currently hosted on local system under IIS.
and the wcf service is hosted on server which provided an url to access service.
Service method definitions :
[OperationContract]
[WebInvoke(ResponseFormat = WebMessageFormat.Json, RequestFormat = WebMessageFormat.Json, UriTemplate = "/UserRegistration")]
LogingResult UserRegistration(UserDetails userDetails);
Avinash6474
26-Jul-13 3:44am
View
Hi Keith Barrow,
I will keep in mind your suggestions while posting question. Thanks for guidelines.
In the mentioned scenario if the service method is having WebGet contract then it is getting called from the jquery.
I am having problem with WebInvoke method calls, after making call from $.ajax(); to the service method it is not invoking.
Here is the service method :
[OperationContract]
[WebInvoke(BodyStyle = ResponseFormat = WebMessageFormat.Json, RequestFormat = WebMessageFormat.Json, UriTemplate = "/UserRegistration")]
LogingResult UserRegistration(UserDetails userDetails);
and here is the $.ajax() function call :
var passVal = new Object();
passVal.FirstName=fname;
passVal.LastName=lname;
passVal.EmailId=email;
passVal.Password=passwordEnc;
var jsonText2 = '{"userDetails":' + JSON.stringify(passVal) + '}'
$.ajax({
type: "POST",
url: "http://URL/Service1.svc/UserRegistration",
data: jsonText2 ,
contentType: "application/json",
dataType: "jsonp",
timeout: 1000 * 10,
success: function (data) {
alert("Registered successfully");
},
error: function (error) {
alert("Error:"+error.status+" "+error.message);
}
});
it is showing an "Error: 0 undefined" message
Avinash6474
24-Jul-13 4:03am
View
jsonText is a json object which are input parametes to service method
var jsonText=JSON.stringify({"EmailId": email,"Name": name});
Avinash6474
23-Jul-13 6:23am
View
$.ajax({
type: "POST",
url: "http://Server1/WcfService/Service1.svc/UserInfo",
data: jsonText2,
contentType: "application/json;charset=utf-8",
dataType: "json",
timeout: 1000 * 60 * 15,
success: function (data) {
alert("Logged in successfully");
}
},
error: function (error) {
alert(error);
}
});
Avinash6474
23-Jul-13 6:22am
View
Deleted
$.ajax({
type: "POST",
url: "http://Server1/WcfService/Service1.svc/UserInfo",
data: jsonText2,
contentType: "application/json;charset=utf-8",
dataType: "json",
timeout: 1000 * 60 * 15,
success: function (data) {
alert("Logged in successfully");
}
},
error: function (error) {
alert(error);
}
});
Avinash6474
9-Jul-13 1:29am
View
Thanks for your suggestion
Is there any other way to show the decimal combination in html,javascript ?
Avinash6474
24-May-13 1:56am
View
I need to do it on Mobile browsers (Android / iPhone / iPad )
Is there any way to do this?
Avinash6474
21-Mar-13 6:01am
View
Thank you Prasad , I will confirm with the service provider.
Avinash6474
7-Feb-13 1:06am
View
Hi Amit,
Thanks for your response.
Is there way we can do it from HTML,javascript or jquery?
Avinash6474
5-Jan-13 3:01am
View
Hi Phat,
Thanks for suggetion.
I maintained height and width in '%'. then It works for differnt devices perfectly.
Avinash6474
2-Nov-12 2:46am
View
Hi Sanjeev,
I have one more question for u,
How we can pass javascript array to the json object data,
I am doing something like this but not working-
var mycars = new Array();
mycars[0]="avinash";
mycars[1]="Sudhakar";
alert(mycars[0]);
alert(mycars[1]);
$.ajax({
type:"POST",
url:"http://localhost/TestAndroidWcfService/Service1.svc/testUploadImage",
ProcessData:false,
data:'{"fileName":'+mycars+'}',
If I passed the static values it is acception but after passing array variable it shows error.
Thanks for your suggessions.
--Avinash
Avinash6474
24-Sep-12 21:57pm
View
Hi Ashraff Ali,
Thank you for your suggession.
I tried by converting the byte array to Base64 string and I passed the converted string as a parameter but it showing an error "URL length excised the max limit".
How to overcome on this issue.
--Avinash
Avinash6474
4-Sep-12 4:03am
View
Hi ,
The links provide the information about how to access the methods from Web service, but my requirenment is to access methods from WCF service i.e. like url "http://localhost/WcfService/Service1.svc".
If you have an idea please share here.
Thanks for reply.
Thanks,
Avinash Patil
Avinash6474
17-May-12 23:26pm
View
Hi Stephen Hewison,
Thanks for reply,
I downloaded the developer tool msi file for internet explorer.Now how I can use in asp.net application to check image downloaded or not in the image control.
If you have any link related to the code samples please share it.
Thanks & Regards,
Avinash Patil.
Avinash6474
17-May-12 23:18pm
View
Thanks for reply.
Avinash6474
2-Mar-12 23:20pm
View
Hi Piet,
I am agree with your sol'n. Actually first time i m doing all this so could you please tell me how to connect from asp.net web page to remote server?
and in self hosting service which type of operations i need to perform.
If you have any link reference then please forward here.
Thank you,
Avinash.
Avinash6474
9-Feb-12 5:00am
View
How to check that port number?
Avinash6474
9-Feb-12 4:59am
View
After con.Open() method call i am getting exception. Sql server not found. The sql server db is on other machine in network.
Avinash6474
6-Feb-12 3:09am
View
Thank you Abhinav, I got what I want.
-Avinash
Avinash6474
6-Feb-12 3:08am
View
Thank you SAKryukov,I did what I want. I added a windows project in same application and write a code on click events. It is working fine.
-Avinash
Avinash6474
8-Jan-12 9:38am
View
Thank you for respond. I will try it.
Avinash6474
7-Jan-12 11:10am
View
I created service in .net 4.0 and created setup for it, and then I installed that service the service on other machine having .net 08 version. but that service is not working there.
Show More