Hi I can't export a datagrid to pdf, I keep getting the following error:
dobe reader could not open filename[1].pdf because it is either not a supported file type or because the file has been damaged
I'm using VS2008 and here is my code:
Dim dtaFinal As New DataGrid()...
Hi
How can I export data from in a data grid to XL or word. I found this code but it just opens a blank XL sheet:
Response.Clear()
Response.AddHeader("content-disposition", "attachment;filename=FileName.xls")
Response.Charset = ""
Response.Cache.SetCacheability(HttpCacheability.NoCache)...
In VS2003 I used to use the code below in a td in an ascx page and it would open a popup window which was a calendar:
<td valign="middle" align="left" width="20%"><asp:HyperLink ID="fDateRequired_Calender" runat="server" ImageUrl="../images/icon-calendar.gif"...
Hi
I'm using VS2008 and I've been trying to find a way to use height in a table = 100%, but it only seems to work in pxls.
<style type="text/css">
.style1
{
width: 100%;
height: 750px;
}
</style>
how can I get a <tr> or a...
Hi
I'm using VS2008
I have a problem where the below URL works in my app on my PC but not when I deploy the app on the server.
lTransferURL = "/Menus/mainmenu.aspx"
Kind Regards
Bill Humphrey
Hi
I'm using VS2008
When I create an MSI file from my wbapp on my PC and deploy it on the sever the folling code gets changed in my web.config:
FROM:
<httpHandlers>
<remove verb="*" path="*.asmx"/>
To:
<httpHandlers>
<re?ove verb="*" path="*.asmx"/>
I get a character...
I get this intermittent error when running a stored procedure sometimes:
This SqlTransaction has completed; it is no longer usable.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error...
How can I make a column of data in an asp datagrid bold?
Division
North
South
West
Also how can I make a specific cell's text red depending on the value of the cell
If below 75% then text = red
Division Value
North 76%
South 65%
West 79%
I'm using VS2003 asp datagrids
Kind...
Hi
I have a business and data vb class library and an asp .net pesentation layer. I have imported an ascx page into a folder in my presentation layer and I get the following error message from the imports:
"namespace or type specified in the imports OperationsPerformanceBusiness does not...
Hi
when I try to refrerence a method or a variable from a VB class in my business layer in an ascx page in my presentation layer I'm not seeing the components. I'm using VS2005 asp .net
I am working on a new project which has three layers:
Business layer (VB Class Library)
Data layer (VB...
Hi
I have three panels in multiview, MultiView1.SetActiveView(View1) is the default panel. If I navigate to an aspx page from panel 2 or 3, how do I navigate back to 2 or 3 via a back button
My Back Button Code
Private Sub fBTNGoBack_Click(ByVal sender As System.Object, ByVal e As...
Hi
I'm using VS2005
I have three controls embedded in a page using MultiView
one of the controls is a dynamic datagrid with create, edit and delete buttons
when I click on one of the buttons, the following method should be activated but it is not:
Public Sub MaintainImaging_Click(ByVal...
I have used this how to, to get the web controls working in VS2005:
Getting the IE Webcontrols work in ASP.NET 2.0 while using Visual Studio 2005
Here is my web.config:
<configSections>
<section name="MicrosoftWebControls"...
This code used to work in VS2003 but does not work in VS2005:
\\\\ This button is embedded in the datagrid and when clicked on would take a user to a new record page:
<HeaderTemplate>
<asp:imagebutton toolTip="Add Patient Image" runat="server" imageurl="../images/icon_add.gif"...
Hi
I have a container aspx page which uses PageView to display 3 controls on seperate pages. One of the controls is a datagrid which das buttons on the side to view a record in a separate aspx page & Control. When I click on the button I get the error below. I have tried putting this code...
Hi
I've migrated a VS2003 project to 2005 and I'm getting an error with the PageView element in the HTML:
Element PageView is not a known element
Can I get round this?
Regards BH
I've upgraded a VS2003 web app to VS 2005, this is the code I used to use to send email for 2003. I'm not sure how to convert this to send email in 2005 can anyone help?
email.To = "MyValidEmailAddress"
email.From = "UsersValidEmailAddress"
email.Body = "A body of text"
email.Subject = "A...
In VS 2005 why cant you see a references folder in the web site and also a bin folder.
I can add a bin folder but not a references folder.
When adding a reference do you add it to the layer or to the bin?
Regards BH
Hi
I've migrated a project from Visual Studio 2003 to 2005 and now the following code does not pick up a users identity from the browser:
If Trim(User.Identity.Name) = "" Then
Return
End If
When I'm logged into my PC I should get my network username but the cose is returning "".
Regards BH
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.