Questions tagged [aspx-user-control]

94 questions
0
votes
0 answers

Stop recompiling usercontrols without code behind

I have a CMS created in asp.net FrameWork 4.72. hosted on an IIS 8.5 The content is rendered by loading Usercontrols without Codebehind(example below) so I without updating bin files can make changes to content My Issue is that when I make a change…
0
votes
2 answers

Asp.net textbox returns empty string when enter key is pressed at the end of text vb.net

I am very new to the world of aspx, web forms. But I am assigned to development of webform due to some circumstances. I am somehow struggling and surviving in this. I have a problem, may be if someone who is familiar with this, can help me…
Priya
  • 329
  • 3
  • 14
0
votes
1 answer

How to call button click function in ascx

I am trying to add a button to my ascx page and do some functionalities. But the button OnClick not firing. So, please advise me on how to access the button click method. Thank you ascx page:
0
votes
1 answer

How to customize Telerik Header Context Menu?

I want to customize the Telerik Header Context Menu by adding additional button to it and I want to change labels of existing buttons. How can I do it? I know that I can set custom CSS class, but this is not I'm looking for.
Joseph Katzman
  • 1,959
  • 6
  • 21
  • 47
0
votes
0 answers

How Can I Show Exception Message in Custom Error Page in WebForms?

I have written a code in webforms to redirect to the custom error page in web.config file.
Biraj Dahal
  • 57
  • 1
  • 13
0
votes
1 answer

C# code to clear textbox on click is not working, error

I have created a aspx webpage that searches a sql database and that search is returned in a gridview. I am using a textbox and button to do the search. The search works fine but I am trying to clear the textbox on button click. My cs coding…
WGraulich
  • 11
  • 4
0
votes
1 answer

AjaxControlToolkit ComboBox Selected Value Manual Reset Not Working in asp.net c#

I am using AjaxControlToolkit combo box. On the page load, I have set the selected value to the combo box. After the page loaded successfully, I have cleared the combo box selected the value in the text box of the combo box manually. The selected…
0
votes
1 answer

How to set value of HtmlTableCell dynamically in ASP.NET Webforms?

I have an aspx file and its small part of the code is
Header1
0
votes
1 answer

Bind Image to CardViewBinaryImageColumn

I have a simple CardView:
AlessandroF
  • 542
  • 5
  • 16
0
votes
1 answer

Why is my UserControl's markup telling me "variable is not defined", despite variable being defined and public in code?

I have the following user control in my project: Markup (SlidingScaleTableReadonly.ascx): <%@ Control Language="vb" AutoEventWireup="false" CodeBehind="SlidingScaleTableReadonly.ascx.vb" Inherits="Client.Project.SlidingScaleTableReadonly" %>
B. Bergeron
  • 90
  • 1
  • 10
0
votes
0 answers

How can i add an empty div to ext:Window

I want to add an empty div to ext:Window so that i can render a chart into that div and into that popup window.
0
votes
1 answer

How to change the properties of controls in a UserControl at runtime in WebForms

I have a simple UserControl defined as: <%@ Control Language="C#" AutoEventWireup="true" CodeBehind="AdminBanner.ascx.cs" Inherits="OrderManager.Controls.AdminBanner" %>
JNickVA1
  • 418
  • 7
  • 23
0
votes
0 answers

Dynamic button - not enter to event handler function

I tried to create dynamic buttons after clicked on "searchbutton". But I always get returned to the homePage and do not enter the BtnBuy_ServerClick function. GetPostBackControl() - return null if don't found control, else the control. See at the…
efrat
  • 13
  • 1
  • 4
0
votes
0 answers

Login using MSSQL Local server on SmarterASP.NET online Website?

This is the error when I login my account in my live website using smarterASP.net. Is it possible to get data source from a local server to a live website? is there anyone encounter with this problem? Server Error in '/' Application. The user…