asp.net

Store and Retrieve .ZIP file in SQL SERVER 2005

How to store .zip file in SQL SERVER 2005 database programatically? And how to retrieve it back? If you think that storing a .zip file into a database is not an elegant way, please tell me the idea of making a better approach / standard practice for the same I am using C#, Asp.net and Sql Server 2005 Please send me the code. ...

Disable browser's back button

How to disable browser's BACK Button (across browsers)? ...

How would you create and store user-defined custom fields in a SQL database?

I need to allow users to add new fields to a record, e.g. if there is a Contact record, a user may want to add a "SSN" numeric field and a "Birthdate" date/calendar field. They would do this through the UI of course. Those fields should then be available for entry for all contact records. Considering that my application runs for many ...

ASP.NET : HTML of ASP.NET RadioButtonList control generated in codebehind

I am generating an ASP.NET Radio button list control in my server side code.I am calling this page from my javascript via ajax.I want to load the RadioButton list control genearted to my DOM using jQuery's Load method.I want to return the HTML of the Control which i generated.IS there any property wwhich would return the innnerHTML / HT...

Text to Speech in ASP.NET

I would like to do some japanese text to speech on my dedicated windows 2003 x64 server with .net framework, using c# I found something on google, but requires to install a lot of files on the server... i don't like, for stability issues: there is another option, like a linked dll or something? ...

checkboxlist column gridview

I have gridview I have column that should be checkboxlist like dropdownlist column but how can I let the list appear when click in the column ?I don't want the list to appear unless the user want to check some items thanks alot ...

Why does Visual Studio not resolve my CSS class names?

Whenever I am working in Visual Studio I always found that it will not resolve the css class names in my html. The CSS Class names will appear with the green squiggly line in Visual Studio but then the page will render fine when viewing it in the browser. So I know the css file is referenced correctly in my master page but Visual Stud...

ASP.NET : Controls generated dynamically not coming in codebehind

I have an asp.net page.I am generating a RAdioButton list from server ( an asp.net page ) and load it to a DIV using javascript and ajax.Now i want to read the RadioButton list in my codebhind file.But the VS Intelisense is not showing the control name.Can anyone tell me how to read it ? My code for generating radio button list in servr...

TempDB full error

Hi, I have a web application running across a few sites, and last week I got a call to say they keep getting an error when accessing one specific page. The error is that tempdb is full, and i'm a bit stumped as to what to do about it. I've restarted the sql server (I'm led to believe this should re-create tempdb), but still the same pr...

[Reloaded] Error while sorting filtered data from a GridView

Hello guys, I have an error I cannot solve, on a ASP.NET website. One of its pages - Countries.aspx, has the following controls: a CheckBox called "CheckBoxNAME": } Also, this is the main onload event of the page: protected void Page_Load(object sender, EventArgs e) { if (Page.IsPostBack == false) ...

SkinID in CodeBehind

Hi, is there any way to change skinId in codeBehind? I tried it during setting other property, but it's not working. The skin is not applied. public GlobalImageButtonType Skin { get { return _skin; } set { _skin = value; this.SkinID = _skin.ToString(); this.CommandName = _skin.ToString(); ...

Documentation Skills

I am a .net developer with more than 8 years of experience. But I suck when it comes to documentation. How do I improve my documentation skills as a .net developer. Any resources would definately help. Thanks ...

asp:ListView firing edit event without Javascript

I want to user the asp:ListView I want to use it for editing I dont want the postback to use Javascript when I put it into the edit mode. Is this possible? ...

Firing Postback in ASP.NET Without javascript

Is this possible? EDIT I want to user the asp:ListView List item I want to use it for editing I dont want the postback to use Javascript when I put it into the edit mode I've been trying to use a to do this instead of a link button but to no avail. . ...

Extending asp.net Panel-controller with inward/outward rounded corners

Hello, i'm trying to extend asp.net panel-controller to include Ajax Control Toolkit's RoundedCornerExtender. I have no problems with the basic functionality, but i'd like to have the ability to round individual corners, not just the ones available as default in BoxCorners-enumeration and be able to define the rounding both inwards and ...

problem in Silverlight publish

I have a silverlight 2.0 object on content of masterpage. i see it on local but can't see on the host after publishing. according to Microsoft blog i add 2 MIME type of xaml and xap but silverlight object doesn't appear. i can't see the content of silverlight object but i can configure silverlight by right click. please guide me. ...

Specify ApplicationName when using ASP.NET Web Site Administration Tool

This tool is supposed to configure users and roles etc., but when I use it on a new web site, with a new aspnetdb database, it adds a record to the aspnet_Applications table with the ApplicationName and the LoweredApplicationName fields set to /. I think it would make more sense if it actually used the application name, i.e. the web sit...

How to pass an ASP server control as parameter to a usercontrol?

I have a gridview and usercontrol on the page, I want to alter gridview from usercontrol. how can i do that? And also how can I call functions in usercontrol's "host" page from the usercontrol? UPDATE: I have a dropdownlist inside this usercontrol, when the it's SelectedIndexChanged event is triggered i want the gridview on the host ...

ASP.NET Membership validate password

I use ASP.NET Membership to manage users on my site. But I need to create the user accounts manually, without the help of the CreateUserWizard. I have set textboxes for the required fields, and now I am setting up validators. The question is: How do I make a validator that would see if the password the user enters in the textbox is vali...

Problem with CSV download to IE 6.

I have a friend experiencing problems testing a web site of mine that provides a CSV export for a report. He says the CSV is output to the screen, and no file is created. It works fine on my IIS7, Vista, and IE7 setup. I can't get more details at the moment, but I'd like to at least ask: is my code, below, for sending the CSV adequate...