If I'm using a .NET WebBrowser control, and I dynamically populate the HTML, JS content, what exactly are the rules for AJAX cross-domain requests? I know I don't technically have a domain since it's local content, but I'm not sure how the browser handles this.
Hi everbody,
I need to make a web system using asp.net mvc, jquery and web standards
for a customer with a style like Windows Vista/Seven.
Can anybody indicate me a link to do this with CSS ? I search on the web but i didn't find it =/
I'd like to have interface elements like "window", "menu", "buttons", "form controls", etc...
If anyone could help me, I appreciate.
thanks!
[]'s
Hi All
What Tips And Tricks Exist in C# And .Net FrameWork To Implement Fast UI in Windows Application? This Tips And Tricks Must Be Implement in WinForms And isn't For WPF Applications.
In This Scenario My Application Use A DataBase To Save his Data.
hi guys,
Just Wondering how [session] timeouts are(or can be) implemented when using Comet?
I'm using Long polling Comet solution and want to implement a kind of Timeout feature.
Example :
If the user is on a comet enabled page and doesn't respond to server events/notification for a period of time say 10 mins then invalidate his session and remove his request from server and redirect the user to a timeout page?
Will this require Javascript XHR requests to check for a timeout explictly?
Using ASP.NET 3.5 / C#
Thanks
My desktop application serializes objects using XmlSerializer. I was suggested to leverage DataContractSerializer instead.
Under which scenarios should I use DataContractSerializer?
Many thanks
Comments.
1. The output XML file is stored locally. No other applications deserialize objects from that XML file.
2. My application runs with .NET Framework 3.5 SP1.
hi all,
In my asp.net page I have a webmethod which will return data in json.I would like to run this method only when the http request content-type is 'application/json'.I do not understand how do I make a request with content-type as 'application/json' and how to check if the request content-type is 'application/json'?
Please help..
Thanks.
how to read image in cell of the excel sheet. This sheet contain .jpeg formated images. I want as they are means in jpeg format. i am using asp.net and c# for this. please guide.
I have a search page where I would like to stop the user entering a ' into textboxes, or replace it with a suitable character. Can anyone help me achieve this in asp.net vb ?
For example if a user searches for O'Reilly the search crashes with error:
Line 1: Incorrect syntax near 'Reilly'. Unclosed quotation mark before the character string ' '.
Thanks!
I send the registration date parameter to mysql database like "22-12-2010". But my sql date date type is in another formate how can i change the date formate like "2010-12-22" also i have to insert this into table.
Give code in c#,asp.net code behind either sql query statement!
Cheerss!!!!!
**Thanks
A.Ayyappan**
I'm using My.Settings in my VB.NET application and when we run multiple instances rarely it's giving a ConfigurationErrorsException because the settings file locked by another instance.
Is there anyway to fix this?
This is happening during the OnShutdown process, also I'm not quite sure how can I catch that exception and handle it.
Only thing I can think of is disabling onshutdown save and manually save it during the shutdown with extra retry + locking + exception handling.
What's the simplest/canonical way to create an empty file in C#/.Net? Simplest way I can find so far:
System.IO.File.WriteAllLines(filename, new string[0]);
I need to design a site map page of my website in asp.net.
I am confuse whether to use custom site map and reterive information from databse or direct reterive information from database and bind it to hyperlink?Please help.
hi
when I append jquery datepicker to my asp textbox, by clicking on it, my browser auto shows the history of the dates i typed in a dropdownlist. Can I prevent this?
Set textbox to readonly isn't a good idea because asp.net doesn't read the values from read only fields in code behind.
any other ideas?
thank you and best regards.
marc
I am writing a app in dotnet which will generate random text based on some input. So if I have text like "I love your {lovely|nice|great} dress" I want to choose randomly from lovely/nice/great and use that in text. Any suggestions in c# or vb.net are welcome
Is it possible to use pure Encoding and Decoding keys instead of private and public keys? As I know in .Net asymmetric RSA implementation private key RSAParameters parameters = (new RSACryptoServiceProvider()).ExportParameters(true) is a superset of public key. And using private key we can both encode and decode our data. But I need key only for decoding data. How to do it?
I experimented on nulling RSAParameters fields, but RSACryptoServiceProvider object can't import such parameters.
Hello, I use ASP.NET and have a label control on my page, which I fill with
the jQuery-Command
$('#<%= myLabel.ClientID %>').html(content);
.val() does not seem to work with this.
Somehow, I have Problems getting the content in code-behind. In the code, the myLabel.Text-Property is still empty.
I'm finding it very hard to estimate how much my web application might cost running in Amazon's cloud? My app is similar to stackoverflow.com - asp.net, ajaz, sql database. Can anyone estimate how much it might cost to run stackoverflow in Amazon's cloud?
we will develop a web site that will have some free services and we want to make it as a framework that can any build application over it or can use its api in their site ..
Could any lead me in how to start it , what's the better architecture and design pattern help in that , is there any resources discuss or explain how to do like this ?
FYI : we are dot net developers but we can learn any other if its urgently needed in such a solution
I constantly find myself sending .NET code snippets to other developers using MS outlook email. Is there a code editor plugin I can use that can help in formatting and copy/paste (something like SO editor?
Hello everyone,
I am using VSTS 2008 + .Net 3.5 + C# + Microsoft Expression 3. I want to capture screen and output a wmv file. I tried hard but can not found C# samples from Google. Any reference samples?
thanks in advance,
George
I've created a web application in asp.net. I've to generate embed code for one of my page so that other websites can embed that code in their websites. Tell me what is the best way to do this?
We are using two load balancing server for asp.net site in that we have a functionality which will create a receipt of order in pdf using abcpdf component it was working fine without load balancing server and but when we move it to load balancing server it is giving errors like. A generic error occurred in GDI. I have given full rights to directory which is used but still there problem. Does anybody have a solutions for this.
my project is asp.net MVC, using Telerik MVC combobox. I can change the sytle of the first item if I use:
var item = combobox.dropDown.$items.first();
item.addClass('test');
Or change all items, using:
combobox.dropDown.$items.addClass('test');
But I need to change just specific items (based on a model), I tried:
combobox.dropDown.$items[1].addClass('test');
I get this error:
Object doesn't support property or method 'addClass'