Click here to Skip to main content
15,905,781 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: can we use JavaApplets adn Servletts in Asp.Net??? Pin
Christian Graus8-Jan-08 9:16
protectorChristian Graus8-Jan-08 9:16 
GeneralSate Managment [modified] Pin
Scotty868-Jan-08 2:35
Scotty868-Jan-08 2:35 
GeneralRe: Sate Managment Pin
Scotty869-Jan-08 5:34
Scotty869-Jan-08 5:34 
GeneralNew To asp.net ....Simple question Pin
sindhutiwari8-Jan-08 2:15
sindhutiwari8-Jan-08 2:15 
GeneralRe: New To asp.net ....Simple question Pin
Vasudevan Deepak Kumar8-Jan-08 2:21
Vasudevan Deepak Kumar8-Jan-08 2:21 
GeneralRe: New To asp.net ....Simple question Pin
sindhutiwari8-Jan-08 2:27
sindhutiwari8-Jan-08 2:27 
GeneralRe: New To asp.net ....Simple question Pin
DotNetXenon8-Jan-08 4:44
DotNetXenon8-Jan-08 4:44 
GeneralCustom control "property page" Pin
c24238-Jan-08 1:19
c24238-Jan-08 1:19 
I have been searching for a way to solve a problem all morning and can't seem to find any useful results on Google - I'm sure there will be a short answer to this, but I can't seem to get the right search string! I would appreciate any pointers that people can give me.

I have created a custom control to allow tabbed browsing. The principle is that the developer can use a multiview and view controls to create their content, and my control will generate buttons to look like tabs. When tabs are clicked the corresponding view will be shown.

I would like my control to have a property detailing all of the tabs it will contain including data for the caption and the View it targets. So far, what I have is:

<br />
public struct ButtonTarget<br />
{<br />
  public View targetView;<br />
  public string buttonCaption;<br />
}<br />
<br />
private ButtonTarget[] m_Tabs;<br />
public ButtonTarget[] Tabs<br />
{<br />
  get { return m_Tabs; }<br />
  set { m_Tabs = value; }<br />
}<br />


The problem is that the properties window in design view does not allow me to easily edit this property, so I would like to create a property page to allow the developer to easily edit the value of the property at design time.

I am aware that the code achieve the same effect is very simple just by creating a new button for each view on the form and adding an event handler, but the reason for using a control is to be able to reduce the amount of code on each page, and to allow dynamic adding of tabs at runtime more easily.

Thanks,
Chris
Generalfirst click a button, half page display then next click another button display the remaining page using asp.net Pin
My Article8-Jan-08 0:41
My Article8-Jan-08 0:41 
GeneralRe: first click a button, half page display then next click another button display the remaining page using asp.net Pin
Declan Bright8-Jan-08 0:53
Declan Bright8-Jan-08 0:53 
AnswerRe: first click a button, half page display then next click another button display the remaining page using asp.net Pin
UsmanMunier9-Jan-08 22:57
UsmanMunier9-Jan-08 22:57 
GeneralCSS PROBLEM IN DIFFERENT BROWSERS [modified] Pin
Parvai8-Jan-08 0:15
Parvai8-Jan-08 0:15 
GeneralRe: CSS PROBLEM IN DIFFERENT BROWSERS Pin
eyeseetee8-Jan-08 0:30
eyeseetee8-Jan-08 0:30 
GeneralRe: CSS PROBLEM IN DIFFERENT BROWSERS Pin
Parvai8-Jan-08 0:33
Parvai8-Jan-08 0:33 
GeneralRe: CSS PROBLEM IN DIFFERENT BROWSERS Pin
Piyush Vardhan Singh8-Jan-08 0:31
Piyush Vardhan Singh8-Jan-08 0:31 
GeneralRe: CSS PROBLEM IN DIFFERENT BROWSERS Pin
Piyush Vardhan Singh8-Jan-08 0:36
Piyush Vardhan Singh8-Jan-08 0:36 
GeneralRe: CSS PROBLEM IN DIFFERENT BROWSERS Pin
janet20088-Jan-08 0:51
janet20088-Jan-08 0:51 
GeneralRe: CSS PROBLEM IN DIFFERENT BROWSERS Pin
Pete O'Hanlon8-Jan-08 10:19
mvePete O'Hanlon8-Jan-08 10:19 
Generalblock the user after 3 attempts Pin
jithbiz00338-Jan-08 0:09
jithbiz00338-Jan-08 0:09 
GeneralRe: block the user after 3 attempts Pin
eyeseetee8-Jan-08 0:23
eyeseetee8-Jan-08 0:23 
GeneralRe: block the user after 3 attempts Pin
Paddy Boyd8-Jan-08 0:30
Paddy Boyd8-Jan-08 0:30 
GeneralRe: block the user after 3 attempts Pin
Declan Bright8-Jan-08 0:32
Declan Bright8-Jan-08 0:32 
GeneralRe: block the user after 3 attempts Pin
Paddy Boyd8-Jan-08 0:32
Paddy Boyd8-Jan-08 0:32 
GeneralRe: block the user after 3 attempts Pin
eyeseetee8-Jan-08 0:39
eyeseetee8-Jan-08 0:39 
GeneralRe: block the user after 3 attempts Pin
Declan Bright8-Jan-08 0:42
Declan Bright8-Jan-08 0:42 

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.