Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:759724
More Search Options
RSS Available
Matching Posts
Re: download file problem
Here's how you can make use of http header response to send a file direct to the clients browser for download. Protected Sub btn_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btn.Click Response.ContentType = "application/x-unknown" Response.AddHeader( "Content-Disposition" , "attachment; filename=test.txt" ) Response.WriteFile( "test.txt" ) Response.End() Response.Clear() End Sub Regards, Stoyan Bukovich ===========================
Posted to
Web Forms
(Forum)
by
Stoian Bucovich
on 9/10/2009
Re: why asp.net will save a cookie contain session id ?
Hi, ASP.NET uses session cookie that contains the session id, that how it guaranties the security communication between server and client. This cookie expires right after the use session expires on iis. the session id is unique and is encrypted with machine key from you machine.config it contains specific information for the client machine to. So if you just copy and paste this cookie on other machine.... will not work. For me there is no place for douths. Regards, Stoyan Bukovich SNB Solutions www
Posted to
State Management
(Forum)
by
Stoian Bucovich
on 9/10/2009
Re: how to end a .exe application in web application using c#
Hi, kill the process, process.stop() Hope it helps Stoian Bucovich www.snb-bg.com =================================================== Please don't forget to mark as "Answered". Thanks.
Posted to
Web Forms
(Forum)
by
Stoian Bucovich
on 4/12/2009
Re: flash player in a asp.net 2.0 page
Hi, I think that it could give you guide line: Embedding JW FLV Media Player in ASP.Net forms http://www.snb-bg.com/Blog.aspx Hope it helps, Stoian Bucovich ========================================================================== Please don't forget to mark as "Answered". Thanks.
Posted to
Web Forms
(Forum)
by
Stoian Bucovich
on 4/12/2009
Re: How do you insert a NULL value?
Hi, System.DBNull.Value should work just fine but there is one potential problem, does the database field allows null? if it doesn't then you cannot insert null. Hope it helps, Stoian Bucovich SNB Web Solutions www.snb-bg.com ============================================================================== Please don't forget to mark as "Answered".Thanks.
Posted to
Data Access and ObjectDataSource Control
(Forum)
by
Stoian Bucovich
on 4/12/2009
Re: Make all pages CENTERED on all browser unsing Visual Studio 2008
Hi, if you use tables: <table style="margin-left: auto; margin-right: auto;"> <tr> <td>the content place holder goes here</td> </tr> </table> if you use divs <div style="margin-left: auto; margin-right: auto;">the content place holder goes here</div> Hope it helps, Stoian Bucovich SNB Web Solutions www.snb-bg.com ====================================================================== Please don't forget to mark as "Answered"
Posted to
Master Pages, Themes and Navigation Controls
(Forum)
by
Stoian Bucovich
on 4/12/2009
Re: Error on Blog ... Help
Hi, Alright, let me ask you first about the database fields is the id data field auto increment? And i think its id field falt ok let try to do this comm.Parameters .AddWithValue( "@Id" , CInt(categoryDropDown.SelectedItem.Value)) Or just check what categoryDropDown.SelectedItem.Value returns is it integer value or string? If the database id field is autoincrement just no need to insert id at all. Hope it helps, Stoian Bucovich SNB Web Solutions www.snb-bg.com =========================
Posted to
Data Access and ObjectDataSource Control
(Forum)
by
Stoian Bucovich
on 4/12/2009
Re: Problem with language specific characters.
Hi, Ok, first you should do Resource file and put in it all your text resources which are going to be used in your entire application, then you are using them in your aspx pages by reffering to parser class in asp.net like this <asp:Label ID="lblFirstName" runat="server" Text="<%$Resources.Resource, strFirstName%>" />. In your code behind you should set the page localization by importing the following namespaces: Imports system.threading and Imports system
Posted to
Localization
(Forum)
by
Stoian Bucovich
on 4/12/2009
Re: Problem with language specific characters.
Hi, use localization for pages that are using such letters and resource files Cheers
Posted to
Localization
(Forum)
by
Stoian Bucovich
on 4/10/2009
Re: External css file not working in master page.
Hmm wiered! Try to browse the css file in your browser as was suggested and try also to run the page in other browser like FF to see does the styles are applied if so ... browser issue(settings could disable styles). Hope it helps =========================== Please don't forget to mark as "Answered". Thanks Provided by: www.snb-bg.com
Posted to
Master Pages, Themes and Navigation Controls
(Forum)
by
Stoian Bucovich
on 3/19/2009
Page 1 of 24 (231 items) 1
2
3
4
5
Next >
...
Last »
Channel 9:
Maria Klawe: Scholar, Scientist and Microsoft Board Member
Channel 10:
Play the Bing Sherlock Holmes Game
Channel 9:
Channel 9 Live at PDC09: Loic Le Meur
Channel 10:
How to Delete Jump List Items
Channel 10:
Roll Back to Classic Network Indicator in Win7
Channel 9:
Ping 42: Is Microsoft cool? Photo DNA, Win7 tool, 10k MIX contest
Channel 9:
Jafar Husain: Silverlight Toolkit and Rx, Part 1
Channel 9:
Francesco Logozzo - Static Checking with Code Contracts for .NET
Channel 9:
Channel 9 Live at PDC09: Doug McCuistion, NASA
TechNet Edge:
System Center Operations Manager 2007 R2 – Service Level Dashboard part 3: Configuration
Channel 9:
Reading Debate with Bill Buxton
Channel 10:
Reading Debate with Bill Buxton
WindowsClient:
Build WPF Data Controls for Outlook Addins Easily with VS2010
Channel 9:
Channel 9 Live at PDC09: .Net Rocks Part 2
Channel 9:
Channel 9 Live at PDC09: .Net Rocks Part 1
Channel 9:
Channel 9 Live at PDC09: Wei Zhu (Facebook)
WindowsClient:
WPF Manipulation Basics
ASP.NET:
High CPU in .NET app using a static Generic.Dictionary
TechNet Edge:
Deploying Silverlight - Why and How
WindowsClient:
Windows Client Developer Roundup for 12/21/2009
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online