Anyone want to meet and study for midtern?
Mon, 01 Oct 2007 21:57:03 -0000
If anybody has some time and wants to meet to study for the midterm
give me a call a 713-854-8721.
Thanks,
Joshua
...
|
Retrieving contained Controls during postback using LoadPostData
Wed, 26 Sep 2007 22:57:38 -0400
I am writing a Control that inherits from
System.Web.UI.WebControls.CompositeControl. Like many Controls, my Control
renders more than just one inner Control. When a postback occurs, I need to
get the data posted by these inner Controls (by using the postCollection
argument). However, the postDataKey argumen ...
|
mvwres in custom control
Wed, 26 Sep 2007 15:37:02 -0700
I have a couple controls that inherits from webcontrol.
When I drop one of the controls on a new webpage
I get
<link href="mvwres:2-Util.Ctrl.MyEmbeddedFile.css,Util, Version=1.0.0.0,
Culture=neutral, PublicKeyToken=null" rel="stylesheet" type="text/css" />
in the head.
I am not sure why the other c ...
|
composite control embedded resource at designtime
Mon, 24 Sep 2007 15:18:03 -0700
In my protected override void CreateChildControls()
I am trying to create an image control where the image is an embedded
resource.
Image img = new Image();
Page page = System.Web.HttpContext.Current.Handler as Page;
img.ImageUrl =
page.ClientScript.GetWebResource ...
|
Cannot get Custom Control to display in Designer
Fri, 21 Sep 2007 18:43:27 -0000
I've built this custom control and it works great, but I can't get it
to NOT throw an error in design time. I don't necessarily want it to
be visible in the designer, but even when I set it not to show up, it
still shows just an error box for the control.
Here's some of my Control's Code:
[Designer("ACTCon ...
|
CompositeControls and RecreateChildControls()
Thu, 20 Sep 2007 10:19:49 -0700
I have a CompositeControl (called SimplePager) that creates an
UpdatePanel in its CreateChildControls override. The CompositeControl
uses two LinkButtons to control the forward/backward state. W/out the
use of the UpdatePanel it works just great. However, as a learning
exercise I want to AJAXify the control. ...
|
Proper way to reload CompositeControl when its state must change after Postback
Wed, 19 Sep 2007 15:40:34 -0700
I am creating a CompositeControl that contains a Table. The rows in
the Table are controlled by an internal pager. The control renders
the pager and the table. When the user clicks the pager, the control
shows the next set of records in the table.
Assume after the OnLoad method the control has regenerated t ...
|
|
|
GridView & CauseValidation
Wed, 19 Sep 2007 14:14:03 -0700
I working through a book on ASP.Net, I added a GridView and SQLDataSource.
Everything worked as expected upon debugging. The rows were displayed with
the Update and Delete buttons on each row. Upon pressing update button on a
row the row did go into edit mode. Changine a few fields and pressing Update
re ...
|
Can I embed an IE control in a webpage?
Fri, 14 Sep 2007 09:24:15 -0400
OK...Don't ask why - it'll just make ya mad. It makes me mad just thinking
about it. I swear....if I didn't need this job, I'd tell 'em where to embed
their webbrowser control. But, since I do need it, here are my questions...
Can I embed an IE activex control in a webpage? I basically would like to
be ...
|
Retrieving the DataItem property in DataList's ItemCommand or SelectedIndexChanged event
Thu, 13 Sep 2007 12:31:26 -0400
I have a custom Control that I have made that contains a DataList. In either
the ItemCommand or SelectedIndexChanged event I need to retrieve a value
from the DataItem of the SelectedItem. I have tried the following two
techniques:
Private Sub datProductList_ItemCommand(ByVal source As Object, ByVal e As
...
|