all groups > asp.net building controls > september 2006 > threads for september 22 - 28, 2006
Filter by week: 1 2 3 4 5
Posting cookie
Posted by Afton Wynona at 9/28/2006 5:53:34 AM
Hi.
I'm looking to post an http cookie on a sql backend.
I know I've read about this before, but the solution stumps me.
I've tried the menu control, I even bought one for 400 dollars, but I still
can't find the answer.
It seems like there is a web cast that I saw that showed how to post a
r... more >>
Nested Collection property in a custom control
Posted by apratimg NO[at]SPAM gmail.com at 9/27/2006 8:58:56 AM
I have the extactly the same problem.. I am creating a control where a
collection property is exposed which has a nested collection object.
It looks something like this once i enter data through the default
editor (in the design view)..
<COL_A>
<A1:COL_A_ITEM Name="Test" Index="1">
... more >>
How do you deploy custom server controls?
Posted by Brennan Stehling at 9/26/2006 9:24:37 AM
I have built custom server controls and as long as the library with
those controls is directly referenced by the web application in the
same Solution I can automatically see the controls in the toolbox.
How can I deploy controls so that Visual Studio will display them in
the toolbox without ma... more >>
HttpModule Cookie Problem
Posted by Eric Marthinsen at 9/26/2006 12:28:01 AM
Hello-
I wrote a HttpModule to inspect the user's current page and to assign a
source a content category to them. The problem is that when it runs, it wipes
out users cookies which logs them out of the site and wipes out their basket.
I can't recreate the error in any sort of test or stagin... more >>
Unload Usercontrol
Posted by Max3vil at 9/25/2006 3:50:05 PM
I Had realized a user contro ctrlContro and i load it in this way:
ctrlControl c1=new ctrlControl
c1.Partent=this;
c1.Show();
this is right, how do i unload this controls ?
c1.dispose();
c1=null
is wrong
tnx
... more >>
2nd attempt - post back event in server control
Posted by Jon Paal at 9/24/2006 9:14:47 AM
my code is not getting successful result.
how do I get the server control to recognize a button click event ??
========code=============
Public Class MyButton
Inherits System.Web.UI.Page
Implements IPostBackEventHandler
Public Response As HttpResponse = HttpCont... more >>
UserControls in a different directory
Posted by Nathan Sokalski at 9/24/2006 12:00:00 AM
I have my UserControls in a subdirectory called usercontrols. In the code
for one of my UserControls I have the following:
Public Property adimage() As String
Get
Return lnkAdvertisement.ImageUrl
End Get
Set(ByVal value As String)
Respons... more >>
Using ASP.NET 2.0's ImageMap Control
Posted by Nathan Sokalski at 9/23/2006 8:58:54 PM
I am using ASP.NET 2.0's ImageMap Control to create 2 imagemaps, one
directly below the other. When I do this a thin blank space appears between
them. After several days of frustration I realized that the difference
between what the ImageMap Control outputs and the html on the page I was
try... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Composite Control with Templates - DropDownList bubble events
Posted by Marc Castrechini at 9/22/2006 4:01:19 PM
I have a base composite control that uses templates.
If I add buttons (image, link, etc ..) to the template we can bubble the
event as an item command using the following ...
Protected Overrides Function OnBubbleEvent(ByVal source As Object, ByVal e
As EventArgs) As Boolean
If TypeOf e Is... more >>
User control not seen on code beside (behind) page
Posted by petro at 9/22/2006 3:28:01 PM
Can someone shed some light on how to get this user control to work?
I created a simple user control with several properties (I want to access
these properties server side on another web form (a web control consumer
page)). Then I drug the user control on to the web form where I wanted to
us... more >>
ASP.NET 2.0 won't let me put my user controls in the same directory as Web.config
Posted by Nathan Sokalski at 9/22/2006 12:00:50 PM
When I put my *.ascx files in the same directory as Web.config and my user
controls are registered in Web.config it gives me an error. Putting my
*.ascx files in another directory is not hard, but it can cause another
annoyance: relative directories. For example, that means that I need to
wr... more >>
White strip showing up between two imagemaps
Posted by Nathan Sokalski at 9/22/2006 11:42:47 AM
I have two asp:ImageMaps in a table cell as follows:
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr valign="top">
<td align="center">
<asp:ImageMap ID="mapBanner" runat="server" BorderWidth="0px"
Height="82px" ImageUrl="../images/top_banner.jpg" Width="1000px"
... more >>
LoadPostData and html <select> with multiple selections
Posted by studen771 at 9/22/2006 10:34:03 AM
Thanks in advance to anyone else who can help :)
I've got a custom control that contains a PLAIN HTML <select> element that
allows multiple selections (NOT A asp.net listbox, listcontrol or
derivatives, etc.)
Within the LoadPostData method I'm trying to retrieve the values that were
chosen ... more >>
|