asp.net

SSRS get meta data of remote report

How can I retrieve the meta data such as Description, Modified/Create Dates etc from a Remote SSRS report. The report itself displays no problems in the ReportViewer control on the aspx page so I can access the report... there doesn't seem to be any properties for those values in the .ServerReport object... thanks heaps! ...

How connect two projects

hai guys, i have a project named slnAllForKids in visual studio 2005.I hve another project named AFKLogin.There is a page called index.aspx in slnAllForKids.I want to redirect from index.aspx to home.aspx in AFKLogin when i click submit button in index.aspx.Can anybody help to redirect to another sln? ...

How to set up SSL in a load balanced environment?

Here is our current infrastructure: 2 web servers behind a shared load balancer dns is pointing to the load balancer web app is done in asp.net, with wcf services My question is how to set up the SSL certificate to support https connection. Here are 2 ideas that I have: SSL certificate terminates at the load balancer. secure/unsec...

What is GenericIdentity?

Can anyone briefly explain what is the use of GenericIdentity and where to use it. ...

Uploading a text file in ASP.NET

I have a web page on which users can upload text files (but a text file, i.e. a file with the extension .txt, could be of many encodings, e.g. ASCII, UTF8, UNICODE .. etc), I'm trying to validate the contents in memory before I save the file to the disk, if the content is not valid, I don't save the file. I'm reading the content from the...

Rapid Web UI Development

I am currently working on a web app that will replace old systems in some office. (very old as in they are in FoxPro) My current task is to develop a very desktop-like fast UI, meaning like, trying not to use the mouse at all, so they can capture data fairly quickly and they do it almost without even looking. They expect things like: ...

Clearing textbox and hiddenfield

hai guys, In source code of asp i'm using onClick() in textbox i.e onClick="openpopup('ct100$contentPlaceHolder$hdpackageid', 'ct100$contentPlaceHolder$txtpackageid','package')" for opening a popup containing package details.and in its selection in popup packageid is stored into a hiddenfield and packagename is stored int...

UserControl Default Value in Property

I have a UserControl with a few boolean properties in it. I would like them to be set to true by default if not set explicitly in the .aspx page, or at least force them to be declared if there's no way to set a default. I know there is a way to do this because lots of controls have required properties that break your app when you try to ...

asp.net control id's in separate JS file

Hi, I have a custom control with a bunch of buttons and inputs. I also have a JS file where all my code goes for easy debugging. How can I get the ClientIDs of the controls in the JS file? My workaround at the moment is to have a script block at the top of the control and to put all the JS in there. I'd like some separation though. M...

Knowing Page Size of HTML Content- Word Document

I have generated HTML Content and I am writing it to a word File. I want to Know How many Pages it will take when Written to the Word Document. ...

How to show maintenance page during deployment?

I want to plan a schedule maintenance down time on one of my production asp.net website hosted on IIS windows server 2003. I think this is the preferred behavior: All request to http://www.x.com including www.x.com/asb/asd/ will be redirected to a notification page (site is currently down. come back later) The maintenance will take ar...

ASP.NET Capture and replace output in Global.asax

Hi! I need to replace some data that's sent from every page on my site, and I think doing it with Global.asax. This is what I have tried with so far: void Application_PreSendRequestContent(object sender, EventArgs e) { System.IO.StreamReader sr = new System.IO.StreamReader(Response.OutputStream); String output = sr.ReadToEnd();...

Asp.Net GridView Pager colspan?

Well i have a GridView with some data and a pager so that i dont have to display all data on one page.. But if i look at the html the grid view generated the pager column has a colspan of 66? this fucks up the layout in Chrome and Safari as thay are based on the same rendering engine.. But why does it set the colspan to 66 when there ar...

validating dynamic controls using jquery

how do i validate dynamic textboxes which are generated at runtime using jQuery? ...

Visual Studio 2008 CSS Validation Level

I'm validating my CSS to level 2.1 in Visual Studio 08 Is there a way to change the level you validate to? I can't find one ...

Bind a IHierarchicalEnumerable to a treeview, and specify custom Images and navigation Urls

Hi, I have an external datasource that implements IHierarchicalEnumerable. I'm trying to use that datasource for my TreeView, but I can't find a way to specify the images and individual navigation urls the control should render (there is some business logic there). The examples I have seen all assume the Url and the Name and Image fiel...

Method not found: System.IO.Stream CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToStream(CrystalDecisions.Shared.ExportFormatType).

What could be its reason I am using ASP.Net 1.1 ...

Linking two projects

hi guys....... i am currently doing a project which is to be linked with another project.ie,when i am clicking on some button in my current project's page i should get a page from the other project..Can u suggest a way to do the same.. ...

Add text when using SQLBulkCopy to SQL Server from excel

I've created a page where our partners can upload excel files with statistics using SQLBulkCopy. The file has multiple sheets and I need to add the name of the sheet into a column in the DB for each row. The names of the sheets will not change so hardcoding the names is ok. How can I solve this? ...

ASP.net controls moving left and right in the web page when ultrawebgrid is clicked

Hi, I'm using certain DropDowns, Buttons and Ultrawebgrid in my application. After the application is run, in the webpage, the controls i.e. Dropdowns and buttons especially are moving left and right as and when i'm clicking the cells in Ultrawebgrid. What could be the reason for this as i'm really exclaimed about this.... what coul...