Click here to Skip to main content
16,005,162 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: FileDownload Control Pin
Steve Echols15-Oct-08 17:26
Steve Echols15-Oct-08 17:26 
QuestionAsp.net Pin
rock_mre15-Oct-08 12:16
rock_mre15-Oct-08 12:16 
AnswerRe: Asp.net Pin
Caio Kinzel Filho15-Oct-08 12:43
Caio Kinzel Filho15-Oct-08 12:43 
QuestioncssFriendly problems Pin
TheEagle15-Oct-08 11:18
TheEagle15-Oct-08 11:18 
QuestionHow can i declare a webcontrol in a webservice? Pin
Cannery15-Oct-08 9:00
Cannery15-Oct-08 9:00 
AnswerRe: How can i declare a webcontrol in a webservice? Pin
Steve Echols15-Oct-08 17:40
Steve Echols15-Oct-08 17:40 
QuestionProblem with GridView Pin
Enayat Ashkian15-Oct-08 8:12
Enayat Ashkian15-Oct-08 8:12 
QuestionCustom Contols Within Other Custom Controls Pin
Mateobus15-Oct-08 7:08
Mateobus15-Oct-08 7:08 
Hello, I am trying to create a custom control for creating tabs. The idea is that our designer can just use the control tags to generate the tabs. The problem that I am running into is that I want to be able to have a custom control that allows any number of child custom controls. So there would be a TabContainer Control, and within that there would be any number of tabs. The idea is similar to how an asp:DropDown list can have any number of ListItems within them. Here is my code, any help is appreciated.

1    <!-- TAB CONTAINER  -->
2    <%@ Control Language="VB" AutoEventWireup="false" CodeFile="TabContainer.ascx.vb" Inherits="CustomControls_TabContainer" %>
3    <div>
4        
5        <ul class="tabs">
6            <asp:placeholder id="ph_list_items" xmlns:asp="#unknown">
7            
8            </asp:placeholder>
9        </ul>
10   
11   </div>
12   
13   <!-- INDIVIDUAL TABS -->
14   <%@ Control Language="VB" AutoEventWireup="false" CodeFile="Tab.ascx.vb" Inherits="CustomControls_Tab" %>
15   <li>
16       <asp:hyperlink id="hp_link" runat="server" xmlns:asp="#unknown" />
17   </li>
18   
19   <!-- PAGE SOURCE -->
20   <%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %>
21   <%@ Register
22       TagPrefix="uc"
23       TagName="TabContainer"
24       src="~\CustomControls\TabContainer.ascx" %>
25   <%@ Register
26       TagPrefix="uc"
27       TagName="Tab"
28       src="~\CustomControls\Tab.ascx" %>
29   
30   
31   
32   <html xmlns="http://www.w3.org/1999/xhtml">
33   <head runat="server">
34   </head>
35   <body>
36       <form id="form1" runat="server">
37       <div>
38          
39           <uc:tabcontainer id="tabs1" runat="server" includearrows="True" xmlns:uc="#unknown">
40               <uc:tab id="tab1" runat="server" linktext="Tab1" linkurl="http://www.google.com" />
41               <uc:tab id="tab2" runat="server" linktext="Tab1" linkurl="http://www.google.com" />
42               <uc:tab id="tab3" runat="server" linktext="Tab1" linkurl="http://www.google.com" />
43           </uc:tabcontainer>
44       </div>
45       </form>
46   </body>
47   </html>

QuestionProblem With Update Panel Pin
pinna_hari15-Oct-08 6:56
pinna_hari15-Oct-08 6:56 
AnswerRe: Problem With Update Panel Pin
AlexeiXX315-Oct-08 7:39
AlexeiXX315-Oct-08 7:39 
QuestionDeploying a asp.net 2.0 web application Pin
SUDHAKAR PALLAM15-Oct-08 5:45
SUDHAKAR PALLAM15-Oct-08 5:45 
AnswerRe: Deploying a asp.net 2.0 web application Pin
AlexeiXX315-Oct-08 7:42
AlexeiXX315-Oct-08 7:42 
GeneralRe: Deploying a asp.net 2.0 web application Pin
SUDHAKAR PALLAM15-Oct-08 20:31
SUDHAKAR PALLAM15-Oct-08 20:31 
QuestionApplying a custom theme (skin) to a GridView Pin
Steve Holdorf15-Oct-08 5:44
Steve Holdorf15-Oct-08 5:44 
AnswerRe: Applying a custom theme (skin) to a GridView Pin
AlexeiXX315-Oct-08 7:48
AlexeiXX315-Oct-08 7:48 
GeneralRe: Applying a custom theme (skin) to a GridView Pin
Steve Holdorf15-Oct-08 8:14
Steve Holdorf15-Oct-08 8:14 
GeneralRe: Applying a custom theme (skin) to a GridView Pin
AlexeiXX315-Oct-08 8:17
AlexeiXX315-Oct-08 8:17 
GeneralRe: Applying a custom theme (skin) to a GridView Pin
AlexeiXX315-Oct-08 8:29
AlexeiXX315-Oct-08 8:29 
GeneralRe: Applying a custom theme (skin) to a GridView Pin
Steve Holdorf15-Oct-08 17:38
Steve Holdorf15-Oct-08 17:38 
GeneralRe: Applying a custom theme (skin) to a GridView Pin
AlexeiXX315-Oct-08 18:07
AlexeiXX315-Oct-08 18:07 
GeneralRe: Applying a custom theme (skin) to a GridView Pin
Steve Holdorf16-Oct-08 3:47
Steve Holdorf16-Oct-08 3:47 
Questionreadxml and timezone Pin
ed james15-Oct-08 5:29
ed james15-Oct-08 5:29 
QuestionThemes and Skins tutorial Pin
Steve Holdorf15-Oct-08 5:28
Steve Holdorf15-Oct-08 5:28 
AnswerRe: Themes and Skins tutorial Pin
ed james15-Oct-08 5:35
ed james15-Oct-08 5:35 
QuestionWatin issue trying to handle opening a file with FileDownloadHandler Pin
jessi080415-Oct-08 5:18
jessi080415-Oct-08 5:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.