Quantcast
Channel: Web Forms
Browsing all 23244 articles
Browse latest View live

stored procedure parameter for part of column name

Hi,Is have sql statements where a variable replaces part of a column name:SELECT sprache_"&reftex4&", sprache_en FROM sprachen where old = 0 order by sprache_"&reftex4&"where reftex4...

View Article


class for defining variables

Hi,I started reading about reusability of classes (from class folder) for other pages but cannot find out if I can also set up a class for defining variables. I've been searching for about 2 days on...

View Article


Problem with textbox- calendar extension within table

Hi allI have aproblem rendering correctly a calendar as an extenstion to a text box which is placed with a tableThe headers of the extension clnedar are overlappong and thrown into each other, please...

View Article

Retrieving value from INPUT element

I am trying to retrieve the value entered by the user from an INPUT element for a text box called "txtSearch" that is defined in the master page called Store.master I am trying to retrieve this through...

View Article

Image may be NSFW.
Clik here to view.

Dynamic Button Event Not Fired.

protected void displayResult(string[] Category, double[] Amount) { pnlQuestion.Visible = false; pnlResult.Visible = true; Button btnBack = new Button(); btnBack.Text = "Back"; btnBack.CssClass =...

View Article


Class can not be found

HiI mostly worked with Websites and now I'm working with Web Projects. I defined a class and when I want to use it in one of pages, it cannot be found. both of places are in the same namespace. Does...

View Article

Configuration Error in authentication in system.web

Parser Error Message:It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level.  This error can be caused by a virtual directory not being configured...

View Article

Error on no matter what I put there

Using ASP.net 4.0 and IIS 8.0.I keep getting an error in the following line:<authentication mode="Forms" /><system.web><compilation debug="true" strict="false" explicit="true"...

View Article


Passing Table Control Between Pages

public class PrintHelper { public PrintHelper() { } public static void PrintWebControl(Control ctrl, string Header, string Date) { Label lblHeader = new Label(); lblHeader.Text = "MSJ Bank Financial -...

View Article


AutoComplete TextBox using Ajax controls

I have a textbox i.e. myTextBox which and use the ajaxtoolkit autocompleteextender as follow:ajaxToolkit:AutoCompleteExtender runat="server" ID="autoComplete1" TargetControlID="myTextBox"...

View Article

ListView Control - Limit number of records displayed

I just want to limit the number of records displayed on my ListView control. Isn't there an easy way to do it? I have limited space on my screen to place the listview control thats why i want to...

View Article

how to insert function value in coloumn

i have created an sql function  in database name datainfo and table name as bookcreate function[dbo].[book_id](@id int) return char(12) as begin return...

View Article

Cant get my dropdownlist on indexchange to execute code

protected void DropDownList1_SelectedIndexChanged(object sender, EventArgs e) { if (!IsPostBack) { average(DropDownList1.SelectedValue.ToString()); count(DropDownList1.SelectedValue.ToString()); } }my...

View Article


UserControl doesn't show

I am trying to create a simple user control that contains an ImageButton and a Label but the problem is the ImageBox and Label don't appear to have been properly set - they just show the default don't...

View Article

Response.Redirect

Is there a way to carry values from the current page in a response.redirec()? What is it? If not, waht is the proper way to open a new web form carrying values from the current page?Thank you in advance.

View Article


UpdateMethod extends the width of the whole page in GridView. I need to set...

Hi guys!My web forms's UpdateMethod in GridView controller which when I click on the 'Edit' button, it automatically extends the width of my whole page resulting in having the user to horizontally...

View Article

Error when trying to login using try...catch

Getting an error in my try..catch:An expression of non-boolean type specified in a context where a condition is expected, near ',' Try Dim connStr, cmdStr As String connStr =...

View Article


What is wrong with my Gridview

I have a simple gridview with a simple SQLDataSource.  When I click the "EDIT" Button I can change a value in the Grid, But when I Click the "Update" button the changed cell reverts to it's previous...

View Article

IE10 and AsyncPostBack

Is broken!If I put IE10 into IE9 mode, all works OK. I have 3 triggers that are set in code behind Page_Init and some child triggers of the Update Panel.None are working in IE10. The child triggers do...

View Article

Change hierarcy url in asp.net

Hi GuysI'm working on ASP.NET 4How to change hierarcy url in asp.net. below is my illustrationFrom MyWebsite/Folder1/Default.aspx to MyWebsite/Default.aspxIs it possible??Thanks

View Article
Browsing all 23244 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>