Advertisement
Advertisement
| 03.20.2008 at 07:20AM PDT, ID: 23256958 |
|
[x]
Attachment Details
|
||
|
[x]
The Solution Rating System
|
||
|
With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.
Your Input Matters If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support. Thank you! |
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: 41: 42: 43: 44: 45: 46: 47: 48: 49: 50: 51: 52: 53: 54: 55: 56: 57: 58: 59: 60: 61: 62: 63: 64: 65: 66: 67: 68: 69: 70: 71: 72: 73: 74: 75: 76: 77: 78: 79: |
AdminAdd.aspx
<asp:PlaceHolder ID="plcPage" runat="server" Visible=false>
<!-- template section here! -->
<div class="rowheader">
<asp:Label ID="lblContentTitle" runat="Server" Text="Page Composition"></asp:Label>
</div>
<br /><br />
<div class="rowodd">
<div class="leftodd"><asp:Label ID="lbltitle" runat="server" Text="Post Main Header:"></asp:Label></div>
<div class="rightodd"><asp:TextBox ID="txttitle" runat="Server" Width="95%"></asp:TextBox></div>
</div>
<br /><br />
<div class="roweven">
<div class="lefteven"><asp:Label ID="lblpagetext0" runat="server" Text="Post Intro Text<br>(If any)"></asp:Label></div>
<div class="righteven"><asp:TextBox ID="txtpagetext0" runat="server" TextMode="multiline" Width="95%" Rows=5></asp:TextBox></div>
</div>
</asp:PlaceHolder>
<br /><br />
<asp:PlaceHolder ID="plcPageBtns" runat="server" Visible=false>
<div class="rowheader">
<asp:Label ID="lblbtnstitle" runat="server" Text="Add a section:"></asp:Label><br />
<!-- insert buttons here! -->
<asp:Button ID="btnHeader" runat="server" Text="Header" /> <asp:button ID="btnSubHeader" runat="server" Text="Sub Header" /> <asp:Button ID="btnText" runat="server" Text="Page Text" />
</div>
</asp:PlaceHolder>
AdminAdd.vb (Header click function)
Private Sub btnHeader_Click(ByVal sender As Object, ByVal e As EventArgs) Handles btnHeader.Click
'adds a header section to the page composition placeholder
Dim divrow As New HtmlGenericControl
Dim divleft As New HtmlGenericControl
Dim divright As New HtmlGenericControl
Dim lblHeader As New Label
Dim txtHeader As New TextBox
Dim lblSpacer As New Label
Dim evenodd = CInt(Me.txtHeaderNum.Text) Mod 2
If evenodd = 0 Then
divrow.Attributes.Add("class", "roweven")
divleft.Attributes.Add("class", "lefteven")
divright.Attributes.Add("class", "righteven")
Else
divrow.Attributes.Add("class", "rowodd")
divleft.Attributes.Add("class", "leftodd")
divright.Attributes.Add("class", "rightodd")
End If
divrow.ID = "divrowHeader" & Me.txtHeaderNum.Text
divleft.ID = "divleftHeader" & Me.txtHeaderNum.Text
divright.ID = "divrightHeader" & Me.txtHeaderNum.Text
lblHeader.ID = "lblHeader" & Me.txtHeaderNum.Text
lblHeader.Text = "Header " & Me.txtHeaderNum.Text
txtHeader.ID = "txtHeader" & Me.txtHeaderNum.Text
txtHeader.Width = System.Web.UI.WebControls.Unit.Percentage(95)
lblSpacer.ID = "lblSpacer" & Me.txtHeaderNum.Text
lblSpacer.Text = "<br /><br />"
divleft.Controls.Add(lblHeader)
divright.Controls.Add(txtHeader)
divrow.Controls.Add(divleft)
divrow.Controls.Add(divright)
Me.plcPage.Controls.Add(lblSpacer)
Me.plcPage.Controls.Add(divrow)
Me.txtHeaderNum.Text = CInt(Me.txtHeaderNum.Text) + 1
divrow = Nothing
divleft = Nothing
divright = Nothing
lblHeader = Nothing
txtHeader = Nothing
lblSpacer = Nothing
End Sub
|
| Microsoft |
| Apple |
| Internet |
| Gamers |
| Digital Living |
| Virus & Spyware |
| Hardware |
| Software |
| ITPro |
| Developer |
| Storage |
| OS |
| Database |
| Security |
| Programming |
| Web Development |
| Networking |
| Other |
| Community Support |
| 03.20.2008 at 07:51AM PDT, ID: 21172087 |
| 03.20.2008 at 08:11AM PDT, ID: 21172299 |
| 03.20.2008 at 08:17AM PDT, ID: 21172363 |
| 03.20.2008 at 08:33AM PDT, ID: 21172563 |
| 03.20.2008 at 11:16AM PDT, ID: 21174096 |
| 03.20.2008 at 01:38PM PDT, ID: 21175641 |