Questions tagged [asp.net-webcontrol]

asp.net WebControl is a control hosted on a webpage or in a UserControl. It consists of one or more classes, working in tandem, and is hosted on an aspx page or in a UserControl. WebControls don't have a UI "page" and must render their content directly. They can be reused in other applications by referencing their DLLs.

78 questions
0
votes
1 answer

How to get additional parameter in GridView RowDataBound

I have a GridView that gets a DataSource. Now on RowDataBound, I need to make a couple changes to the row cells, but I need an outside piece of information to determine what change occurs. static void GridRowDataBoundProbables(object sender,…
Zholen
  • 1,762
  • 2
  • 24
  • 53
-1
votes
1 answer

Unable to cast object of type 'System.String' to type 'System.Web.UI.Control'

I got stuck here, i have dynamic table that i want to print. So i make session to pass it into web control. Unfortunately, it doesn't run smooth. Here are my code : protected void bt_print_click(object sender, EventArgs e) { StringWriter sw =…
arera
  • 1
  • 1
  • 5
-1
votes
2 answers

How to reset webcontrol.textbox.text once it loses focus?

I have a asp page and i have filter textboxes at the top. These 3 textboxes render with text in them(saying what to enter). I already have code added to select all text when the textbox gains focus but now i need to in a sense do the exact opposite…
user1732364
  • 925
  • 4
  • 28
  • 58
1 2 3 4 5
6