Hi
We have a report (local mode) in our ASP.NET solution, which contains multiple subreports. The report has multiple parameters, for each subreport one parameter.
These parameters are subreport1Hidden, subreport2Hidden, ... I bind these parameters to the Hidden value of the subreports.
This works fine, but when I export to PDF the...
Hi there,
I have a class called tdes which looks like this:
Imports Microsoft.VisualBasic
Imports System
Imports System.Collections.Generic
Imports System.Text
Imports System.Security.Cryptography
Imports System.IO
Namespace security
Public Class tdes
Private des As New TripleDESCryptoServiceProvider()
Private utf8...
I am using the old Microsoft.Web.UI.WebControls TreeView control. When running under a web application the treeview.GetChildren() method through an 'object or proerty not supported error', yet the same code in an asp.net 2.0 website project runs fine.
Has anyone encountered this issue? There is almost nothing on the web about this cont...
What is a secure way of storing an a username and password (not asp.net membership details) within a database table that needs to be pulled out and decrypted to use for passing to a webservice.
Each way I think about the problem I find security holes as the username and password need to be in plain text before being passed to the webse...
I have web application contain more than one page.
I need to guarantee when I click Back in browser it execute the page-load event because in last page when I click bake it bring the previous page but it doesn’t execute page load and that cause problems.
I appreciate any help
...
I'm currently learning "traditional" ASP.NET, but then there is a lot of buzz around ASP.NET MVC. Should I get into MVC now, or get a good understanding of the trad webforms first?
...
I've created a Gridview control that pulls some data from my database, but doesn't display all of the information I'm hoping it gathers. I choose not to display the primary key for user interface purposes, but require that key for basic operations on the grid.
I'm currently attempting to add a "Delete" option to the table, but unfort...
I have a colleague who thinks this
alert('<asp:Localize ID="ErrorAddingComponent" runat="server" Text="There was an error adding component: " meta:resourcekey="ErrorAddingComponent"/>' + errortext);
is a good idea if we get an error from an AJAX call, the errortext is the parameter of the function called on error from a jquery ajax,
...
The Problem
Using Link to SQL I would like to filter by columns that I do not want returned in the select statement. This works fine as long as the query is built all at once. In situations where I try and build the where clause dynamically, I get a compile time error because the column is not included in the select.
Example
WORKS...
I'm having a problem with login control.I have three pages called login,secret and register.I secured my secret page by using login control and if i request my secret page it redirect me to the login page that is fine to me.but problem is that if from here i click on the regiser link it does not direct to the register page untill i fill ...
Hi,
How can i insert new record in EntityDataSource (from gridview)
Thanks a lot.
...
Session.Abandon() doesn't seem to do anything. You would expect the Session_end event to fire when Session.Abandon() is called.
...
I currently have an ASP.net 2.0 site with multiple ASP.Net 1.1 sites running as Virtual Directories under the main 2.0 site. While this creates some problems with web.config entries inheritance from the 2.0 site to the 1.1 sites, we have been able to configure all the sites so they work. However, we are now getting ready to migrate the...
I am using an UpdatePaenl in an asp.net page.
It has a button to trigger it. I'm able to show "Loading" when the button is pressed.
Here's my issue: I need it to show "Loading" when the page is first called, not just when a button is pressed.
I would imagine that JavaScript would be used to trigger the UpdatePanel when the page is fir...
Hello,
I am working on a webpage and at some point I need to disable a asp:button.
This page uses a css file that has the following class:
.pagerLinkDisabled
{
display: none;
}
So every time I set a button to disabled .net renders it with class="pagerLinkDisabled" and the button is not displayed...
At pageload I tried this:
m...
Hi,
I make a call to window.open which opens up the desired URL, but then the window suddenly gets minimized w/o my interaction.
Why is this?
Update
The window was being opened on a onclick event (asp.net) and I then injected the HTML. A linkbutton control was used, now when I converted it to a asp:button it is not minimizing.
wierd...
I have included the same files that other pages have that use it but for some reason it's just not finding it. How do I include access to it?
...
This should be simple enough, and I blame this primarily on my inexperience working with DataLists, Repeaters, etc.
I have a DataList control which I am using to display the items in a shopping cart. Everything is going along fine with my binding of the different controls using Eval("ColumnName") until I get to the price column.
My goa...
I've replaced an old PHP web site with a new ASP.NET MVC web site. The old page addresses no longer work. I want each to 301 (Moved Permanently) redirect to specific new addresses.
But, IIS 7 seems to intercept many such requests before they get to my application. I want to handle the error logging and redirections in the Applicatio...
I have a website that relies on dependency injection, using Castle Windsor.
I need to use a component that needs to know the path to a file. I would like to specify the path in the configuration file as a virtual path relative to the web site root directory, so I would do this:
<component id="configuration.documentLoader" type="SomeMo...