all groups > asp.net building controls > april 2005 > threads for april 15 - 21, 2005
Filter by week: 1 2 3 4 5
Enabled / Disabled my control
Posted by David at 4/21/2005 4:11:49 PM
Hi,
My Control (inherits from System.Web.UI.Control) has the Enabled property
that enabled a button inside of my control. The problem is that in the page
that has the control has a button ("Edit") to set the Enabled property to
true and when is pressed first load and build the control, and the... more >>
Can't retain state for Control inherted from ListBox
Posted by Don at 4/21/2005 2:31:31 PM
I have created a Web Custom Control that inherits from
WebControls.ListBox but can't get it to retain the selectedIndex after
a postback. As a test I created a very simple version of the control
with no additional code. I just inherited from the exisiting ListBox
class and put the control on a... more >>
Can't get postback handler to install for my control.
Posted by Ken Varn at 4/21/2005 2:23:48 PM
I have a made a custom control that requires postback. The control relies
on the __dopostback() function to be in place in order for it to do the
postback. I actually call this function directly when I need my control to
do a postback using javascript.
In my PageLoad event for the control, I... more >>
Custom Controls Exception handling
Posted by mjcast at 4/21/2005 1:39:06 PM
I am creating a bunch of custom controls that will be used by user to display
Personalized data. The page that will host the controls will contain anywhere
from 6 custom controls to 2 custom control. I want the page to handle all
exceptions coming from the custom controls.
What is the best... more >>
Include images in an assembly.
Posted by Shark Bait at 4/21/2005 1:08:06 PM
Right now I have a web control that serves as a header for all of our
intranet sites. The assembly in in the GAC but it has images (jpg) that are
located in a directory on the server. Is there a way to compile these images
into the assembly?
Thanks... more >>
Adding description to method?
Posted by lisa NO[at]SPAM starways.net at 4/21/2005 8:59:30 AM
In VS.NET, when you hit . and get a list of possible properties and
methods, a tooltip comes up that gives you the footprint of each
method, and often a description of what the method is for.
When I create my own control and add properties and methods, the
tooltip appears the same way. But th... more >>
Limiting number of control instances?
Posted by lisa NO[at]SPAM starways.net at 4/21/2005 8:42:44 AM
Hey all,
Is there a way of limiting the number of instances of a server control
that the user can put on a form?
I'm writing an interfaceless server control, and I want to make it
impossible for the user to put more than one of them on a page.
Is that possible? If so, how?
Thanks,
Li... more >>
webcontrol with embedded javasript in assembly
Posted by md at 4/20/2005 10:13:41 PM
Hello
I've created a webcontrol that uses some javascript. Currently i've embbed
the javascript into the assembly and it's added to the webpage if
necessary..
The disadvantage of this approach is that the client can't cache the script
because it's embedded into the page instead of refere... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Multicolumn combo box
Posted by NEWBIE at 4/20/2005 7:55:02 AM
Hi,
I have to show data in grid like manner in the combobox.
Please give me ne idea to create multicolumn comboBox.
Thanx.
... more >>
Composite control inside datagrid
Posted by Laflak at 4/20/2005 5:05:02 AM
Hi,
I have created a composite control which function "perfectly" in my web page
(Framework1.1).
The problem is:
When I try to use it on a datagrid, I'm not able to set properties
I probabily miss something.
Here is snippet my Control Code:
<DefaultProperty("Value"), ToolboxData("<{0}:Pm... more >>
Setting values of Controls used multiple times on a page
Posted by james.e.coleman NO[at]SPAM gmail.com at 4/20/2005 4:14:41 AM
Hello,
I have created a custom dropdownlist that is used multiple times within
a single page. When trying to set the values of the controls with the
page in which they are being used, they all are set to the value of the
last control. I found this link:
http://www.codecomments.com/archive31... more >>
How do you assign an ID to ListItem?
Posted by Amelyan at 4/19/2005 8:25:08 AM
How can I assign an ID to dynamically generation ListItem that I add to
dynamically generated CheckBoxList or RadioButtonList? I need to identify
the specific ListItem later through Request.Form when user sends back data.
... more >>
RegisterStartupScript firing at the wrong time
Posted by lisa NO[at]SPAM starways.net at 4/18/2005 1:36:59 PM
I have a weird thing going on. I think I've figured out what's causing
my problem, but I can't find any way to fix it.
I have a custom server control that wraps a <select> in a <div> in
order to emulate a WinForms listbox. It works nicely.
I have another custom server control that includes... more >>
Has anybody seen a visual tool for creating custom controls?
Posted by JohnH. at 4/18/2005 1:15:08 PM
Hi all,
I need to create custom control ASP.Net, a composite control with about
a dozen standard child controls. It looks like I'm going to have to
hand code the creation and positioning of all the child controls. Has
anybody sees a visual tool for laying out child controls in a custom
cont... more >>
Beginner Looking For Help
Posted by cmay at 4/18/2005 12:12:01 PM
I am looking for some help with this problem I am experiencing.
What I want to do, is extend the dataset, but include a button above it that
I can click, and handle the postback of that click w/ in my custom server
control code.
So, my class inherits from the dataset, and has a button defi... more >>
Error executing child request for error.aspx
Posted by Shridhar at 4/18/2005 1:12:01 AM
We are getting errror when load control is added(ascx) as "Error executing
child request for error.aspx"
it thows an error after calling the following statement:
base.OnInit(e);
Thanks for any clue.
Shridhar... more >>
IHttpHandler and VS design-time
Posted by Zarko Gajic at 4/18/2005 12:00:00 AM
Hi,
I've developed a custom handler for my custom control that stores and serves
all the JS and GIF files to the control user at run time.
Question: how do I force the images to appear on the control (as those are
child controls to this composite control) at design time in VS's designer?
... more >>
|