Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:674286
More Search Options
RSS Available
Matching Posts
Re: Web Control Library override fails
Thanks Teemu for your reply. I gave up trying to put the control in a "Web Control Library" project. If anyone can explain why that failed, I would still like to know what I did wrong. As to solving the print problem with too much text in a TextBox... I took the "PagingTextBox" vb file and put it in the App_Code folder of my web project. I then put this line in the aspx file which uses the "PagingTextBox": <% @ Register TagPrefix ="ic" Namespace ="inheritedControls"
Posted to
Custom Server Controls
(Forum)
by
brad75552
on 4/7/2009
Filed under: print multipage textbox
Web Control Library override fails
I am trying to make a "Web Control Library" with a control overriding the TextBox. The reason for doing this is that the TextBox does not handle printing page feeds correctly when the TB contains more than one page of text. I was going to override the rendering to render a textarea for each paragraph in the text (instead of one big textarea as tb does by default). I am using VisualStudio 2005 and VisualBasic. I went to File/New Project and created a ""Web Control Library"
Posted to
Custom Server Controls
(Forum)
by
brad75552
on 4/1/2009
Filed under: "Web Control Library" override fail failure xml
Re: Cannot get the command event to be fired
Hi, I made a test page that does something like you did. I programmatically added a LinkButton, clicked the link and it worked. Have you put a trace in the LinkClick routine to confirm that it is not going there? Your HTML looked essentially the same as mine generated. Been a few days, maybe you already solved this? B
Posted to
Web Forms
(Forum)
by
brad75552
on 1/14/2008
Re: Cannot get the command event to be fired
What does the source for the LinkButton look like in the browser?
Posted to
Web Forms
(Forum)
by
brad75552
on 1/11/2008
Re: Store checkBox value in DataBase
I assume your checkbox is in a data display control (FormView, GridView...). If it is, its Checked property can be bound like: ... Checked='<%# Bind("booleanDBName") %>' When you do the update, binding occurs 'automatically'. B
Posted to
Web Forms
(Forum)
by
brad75552
on 1/11/2008
Re: Assigning a stored procedure return value to a control
The output variable should be defined in the stored procedure: @Agency_ID int, @OutValue int OUTPUT You also need to set its value in the SP. B
Posted to
SQL Server, SQL Server Express, and SqlDataSource Control
(Forum)
by
brad75552
on 1/11/2008
Re: Nested Gridviews and Passing Parameters within
VP, I would be inclined to create a single SQL query which returned distinct year/month combinations: "SELECT DISTINCT ResolutionYear, DATEPART(m , ResolutionDate) WHEN '1' THEN 'January' WHEN '2' THEN 'February' WHEN '3' THEN 'March' WHEN '4' THEN 'April' WHEN '5' THEN 'May' WHEN '6' THEN 'June' WHEN '7' THEN 'July' WHEN '8' THEN 'August' WHEN '9' THEN 'September'
Posted to
Data Presentation Controls
(Forum)
by
brad75552
on 1/11/2008
Re: Programmatically set the selected menu item in the Menu control
Find the menu item and set its selected property to True: mnuLanguage.Items( indexToSelect ).Selected = True I think this removes any other selection, but not sure. B
Posted to
Master Pages, Themes and Navigation Controls
(Forum)
by
brad75552
on 1/11/2008
Re: Urgent!! Help needed for Gridview headers font size.
Easiest way to do this in VS is to go into design view, select the GridView, bring up its properties. Select Styles/HeaderStyle/Font/Size. Select a large size from the dropdown list. The size of the font will change in the design view immediately. If it does not, there is something conflicting with the selection (as the previous response suggested). I would consider removing the HeaderStyle info from the EVENT_DATE field (would do that anyway as it will override the global font selection you are
Posted to
Data Presentation Controls
(Forum)
by
brad75552
on 1/11/2008
Re: Problems Displaying Data Using Repeater Control
CS05, The more important part of your code is how the selection is made and when the new data is bound to the controls. I am assuming here that when the selection is made you are setting MenuSearch somewhere in your code. In that code where it is set, you should call DataBind on both the GridView and the Repeater. This should cause the new data to be found and loaded into both controls. Little notes: Your SqlDataSource names are different in your two code snippets; I assume that the same SDS is used
Posted to
Data Presentation Controls
(Forum)
by
brad75552
on 1/10/2008
Page 1 of 4 (37 items) 1
2
3
4
Next >
TechNet Edge:
Deploying Silverlight - Why and How
WindowsClient:
Windows Client Developer Roundup for 12/21/2009
Silverlight:
4 Calendars & Plans for 2010 / 5770
ASP.NET:
ASP.NET MVC 2 and Visual Studio 2010
ASP.NET:
Moving your ASP.NET Application to Windows Azure – Part II
Silverlight:
HVP – Core Scaffolding and Updated News
Channel 9:
TWC9: 2009 - The Year in Review
ASP.NET:
Tip#100: Did you know… How to view ASP.NET trace information?
ASP.NET:
Passing anonymous objects to MVC views and accessing them using dynamic
Channel 9:
Channel 9 Live at PDC09: Coding 4 Fun
Channel 9:
Channel 9 Live at PDC09: Stephen Toub
WindowsClient:
Mouse Gestures for Internet Explorer
Channel 9:
Controlling concurrency in Rx
Channel 9:
Dev Tools Ecosystem Summit Videos Available
WindowsClient:
Using Cerebrata's Cloud Storage Studio To Download IIS logs from Multiple Instances of Windows Azure
TechNet Edge:
TechNet Radio: Office 2007 Setup and Configuration (Part 1)
Channel 10:
How-To: Listen to Your Zune Pass Music on Your WinMo Phone
Channel 10:
Share Your Screen with SharedView
Channel 10:
Get Microsoft Tinker Game For Free
Channel 10:
LG eXpo WinMo 6.5 Unboxing Video
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online