Quantcast
Browsing all 42 articles
Browse latest View live

Comment by Ali Khalid on Accessing page public property from user control in...

Hi Icarus, You are right, I should have been more clear in my question. I am building a asp.net website not a web application.

View Article


Comment by Ali Khalid on Adding HTTP request header to WCF request

You add the web service directly to your project c#. VS will automatically generate classes for you to call your web service directly but it might not give the option to add a request header, when...

View Article


Comment by Ali Khalid on Checking whether website has certificate C#

whats kind of certificate?

View Article

Comment by Ali Khalid on how to call webservicemethod in windows service

This question is too broad, in order for people to help you, please try to ask a specific question e.g. in your question, it is not clear, weather you need architectural guidance or a specific code...

View Article

Comment by Ali Khalid on How to show popup in 1 thread?

Are you using partial update panels on the page ?

View Article


Comment by Ali Khalid on wp7 listbox selection

In point of view, the major problem is that you have a 1000+ items in a listbox. Do you really need that many items in a listbox. Can you break this down to multiple listboxes ?

View Article

Comment by Ali Khalid on How to check the range of the user input?

The best way to ask a JS question is to us jsfiddle.net . Upload your code on the site and put a link here, this way people can directly make a change to the code and quickly see the results of there...

View Article

Comment by Ali Khalid on Get attribute values to the XML-File

Can you paste the actual code, you are using.

View Article


Comment by Ali Khalid on Create Template Field for n number of columns in...

Can you post a screen shot of your problem.

View Article


Comment by Ali Khalid on using with object type

This Answer provides the reason why you dont need to dispose it stackoverflow.com/a/3734298/394381

View Article

Comment by Ali Khalid on Bootstrap 3 updates shakes UI when a Bootstrap...

Does this problem occur on all browser or only on a selected few ?

View Article

Comment by Ali Khalid on ASP Textbox control placeholder property doesn't...

Yes I agree with you but in case the original poster wants to keep the placeholder tag, I guess he could use the solution i posted.

View Article

Comment by Ali Khalid on Read authentication info (Principal) by developing a...

Try this var principal =ClaimsPrincipal.CreateFromHttpContext(HttpContext.Current);

View Article


Comment by Ali Khalid on Testing functionality based on HTML5 DOM-methods

Could you perhaps use "Modernizr" to check if the functionality exists?

View Article

Comment by Ali Khalid on HTTP Error 400 bad request python

can you the post the content of text_to_check variable, which when passed to urlopen, you receive HTTP 400 error.

View Article


Answer by Ali Khalid for Load Facebook into an iframe

Google and Facebook are using a X-Frame-Options in the HTTP response header to avoid the content being loaded in a iFrame.The X-Frame-Options HTTP response header can be used to indicate whether or not...

View Article

Answer by Ali Khalid for C# How to get the size of the download file for...

In order to find out the length (size) of the file before downloading, you have to read the Content-Length header in the HTTP response, it will provide the size of the file.Source:...

View Article


Answer by Ali Khalid for Static to instance, how do I handle properly?

I don't think it will be possible to keep the same name and parameters but you could do this[Obsolete("This class is obsolete; use class B instead")]Visual Studio will hint to the user, that they...

View Article

Answer by Ali Khalid for .net barcode generation

try jquery-barcodeIts a javascript library to generate bar codes. Check out this question for other alternatives.

View Article

Answer by Ali Khalid for Cookie.Path doesn't work with Internet Explorer

Change cookie.Path = Request.Url.GetLeftPart(UriPartial.Authority);to thiscookie.Path = "/";I am assuming you want to apply the cookie to the whole domain.

View Article
Browsing all 42 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>