Hi, I have a web page form which contains around 20 forms(home.aspx), on 1 of it i need to put a link beside a textbox which will be pop out when the user clicks the link(search.aspx). In this pop out link there will be a search textbox which will search the database based on the keyword that user enters. Let's say the user enters id num...
I've got a grid which provides some links for users to download files. Files are stored outside of the application, the path references are read from the database and a HTTP handler (*.ashx) is used to serve each requested file. It is, however, possible that there could be a database entry pointing to a non existent file. I catch the Fil...
I have a Textbox with Multiline enabled.
but i can get the line brakes when i press the enter button,
any idea on how to get it to work?
...
In my custom aspx page in WSS I am using a DataFormWebPart with an xsl file to render some data. In order to pass values to the xsl I use parameter bindings. Specifically, I need to pass in the server host url like this:
<ParameterBinding
Name="HttpHost"
Location="CAMLVariable"
DefaultValue="http://hardcoded.com" />
Thi...
I have a function within a class which I would like to return the class itself however "return this" appears to be invalid in VB.
I am using ASP.NET v1.1 if that makes a difference?
Sample (extremely simplified) code is as follows:
Public Class Cart
Private sItems As String
Public Function addItem(ByVal itemName As String) A...
I've a couple of email templates and I would like to store each in a sepparate file. I'd like to avoid having to read them from disc everytime I need them. Is there any built in structure in ASP.NET that automatically loads them when needed and shares this resources throughout the application?
...
Anyone have any idea when and why Page.OnLoad() executes twice in the ASP.NET lifecicle?
...
I'm trying to set a property on a custom web control before the control's CreateChildControls method is called. The reason being, a lot of logic is performed in there that depends on the value of the property in question. I can set the property directly with an explicit value in HTML and it is picked up in time, but that's no use to me b...
Is it possible to add a row to a gridview at runtime? I need to add a default row(sometimes) and then add an adhoc row after the bound row based on a value in the bound row.
gridView.DataSource = source;
/// Create a new Default Row here
gridview.DataBind();
AND
OnDataBound(object sender, DataGridEventArgs e)
//evaluate each row and...
my web.sitemap is
<?xml version="1.0" encoding="utf-8" ?>
<siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" >
<siteMapNode url="~/Index.aspx?id=Home" title="Dashboard" description="">
<!-- Catalog Management-->
<siteMapNode url="~/Index.aspx?id=CategoryHome&category=CatalogManagement" title="Catalog M...
VB has a function InputBox() that will prompt the user to enter a single value, then click OK.
Is there a parallel functionality in ASP.NET, that will get the browser to pop up some kind of input box to return a single value?
If not, how do you recommend I achieve this effect?
...
Are there any freeware plugins that would help me view the HTML Source generated by ASP.NET?
...
I've been given the thrilling task of re-writing our exception handling system. Whilst I will state that handling exceptions from an application-wide point of view isn't something we want, typically it's unavoidable when our team are understaffed for the sheer amount of work we need to push out the door, so please, no flaming the global...
I am using jQuery to call web service (*.asmx) methods. The web service uses FormsAuthentication to determine whether the calling user is authenticated. I am unable to return a redirect status code from the web method, e.g.
[WebMethod(EnableSession=true)]
public Dictionary<string, object> GetArchivedFiles(int pageSize, int page)
{
i...
I need to customize the Infragistics Scheduler by adding some more controls to it.
The Infragistics forum is pf no help as of now.
I am using NetAdvantage 2008 , Visual Studio 2005 IDE
...
I'm hoping someone can help me with a question I have about images and GridView controls in ASP.Net 2.0.
I'm trying to put together a photo album application as a learning exercise which uses a GridView control with two columns. Column one will display the image (using an image column type) based on a URL held in the database I am using...
In a page if I do the following:
Cache["key"] = myObject;
Is that cached object available for requests that are for other users?
...
I'd like to set a button's enable state to be the negation of a value.
So given this code:
<asp:CheckBox ID="DefaultChecked" Checked='<%#Bind("IsDefaultMessage") %>' Enabled="false" runat="server" />
<asp:LinkButton ID="MakeDefaultButton" runat="server" CommandName="MakeDefault' CommandArgument='<%#Bind("ResidentialInfoID") %>' Text="M...
Scenario:
I have a pretty standard master page for all my pages. It includes the usual login forms and other dynamic lists to be extracted on each page. Webdesigners can already modify the central content place holder of each page. But still, the design and layout for the master page is still in my project and any modification to the des...
I am using asp.net ajax version 1.0 on asp.net 2.0. (I cannot yet upgrade to 3.5)
I had a PageMethod that would get called by Javascript. This worked perfectly until I added an UpdatePanel to another part of the page. Now when I run the page with debug turned on The breakpoint in the pagemethod never gets called. when I look in firebug ...