- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
Hi I have a menu in a master page. [CODE] <asp:Menu Width="320" Orientation="Horizontal" ID="mnuAdd" runat="server"> <StaticMenuItemStyle CssClass="staticTabs" /> <StaticHoverStyle CssClass="hoverTabs" /> <StaticSelectedStyle CssClass="selectedTabs" /> <Items> <asp:MenuItem Text="Test1" NavigateUrl ="~/Test1.aspx" /> <asp:MenuItem Text="Test2" NavigateUrl="~/Test2.aspx" /> <asp:MenuItem Text="Test3" NavigateUrl="~/Test3.aspx" /> <asp:MenuItem Text="Test4" NavigateUrl="~/Test4.aspx" /> </Items> </asp:Menu> [/CODE] But when I select a … |
|
Hi I'm trying to use a dropdownlist in the DetailsView, but when I click the insert button I see in the table that the field Maker just contain NULL value. I haven't been using the GridView or DetailsView that much so I need help. Is there a way to insert … |
|
Hi I get the error Invalid column name 'MakerID' from my code below. [CODE] <asp:GridView ID="GridView1" AllowSorting="true" AllowPaging="true" runat="server" DataSourceID="SqlDataSource1" AutoGenerateDeleteButton="true" AutoGenerateEditButton="true" DataKeyNames="CamID"AutoGenerateColumns="False"> <Columns> <asp:BoundField Visible="false" ReadOnly="true" HeaderText="ID" DataField="CamID" SortExpression="CamID" /> <asp:BoundField HeaderText="Kamera" DataField="CamName" SortExpression="CamName" /> <asp:BoundField HeaderText="MakerID" DataField="MakerID" SortExpression="MakerID" /> <asp:TemplateField HeaderText="Tillverkare"> <EditItemTemplate> <asp:SqlDataSource SelectCommand="Select * from Maker" ConnectionString="<%$ … |
|
Hi I want to remove a control in a placeholder, in a function in JavaScript. Is that possible? If so please help. Fia |
|
Hi Hi have the code below. When I run the javascript that I have comment it works, but when I try to run the vbscript, nothing happens. I just wounder what I have done wrong [CODE] <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" … |
|
Hi I am worthless in CSS. My boss doesn't want me to use <br> or table. I have a datalist and a div which is relative, like he said I should have. Then I placed spans which are absolute and with top and left. It works fine when there is … |
|
Hi I am worthless in CSS. My boss doesn't want me to use </br>:( I have a repeater and a div which is relative, like he said I should have. Then I placed spans which are absolute and with top and left. It works fine when there is just one … |
|
Hi I'm having trouble to access a Parent's property in User Control. I don't know how to access the parent. I saw the example below and tried it: [CODE]CType(Me.Page, Search).Prop = VALUE[/CODE] and the Parent page is called Search.aspx [CODE]Partial Class Search[/CODE] But then I get en error Type 'Search' … |
|
Hi I'm trying to set a property in the User Control. I see that the property is set when I'm debugging. But when I'm using the property in a method in the User Control the property is set to 0 everytime. I don't understand why. Here is the code I'm … |
|
Hi I want to make my own login box to popup when I click a button Is there a way to do that? I don't want a whole page for the loging in part. I just want something like the msgbox, but with two textboxes and two buttons for login … |
|
Hi I have trouble understanding, when I have to override and why I have to override. I'm using a WebUserControl I tried to use [CODE]Protected Sub Overrides OnPreRender(ByVal writer As System.Web.UI.HtmlTextWriter)[/CODE] but then I get the error [QUOTE]sub 'OnPreRender' cannot be declared 'Overrides' because it does not override a sub … |
|
I can't change the text of a linkbutton that is placed in a repeater. I want the text to change when I click the button. [CODE] <asp:Repeater ID="rptSearch" runat="server" > <HeaderTemplate > <table border="1" width="100%"> <tr> <th> Bild </th> <th> <asp:LinkButton ForeColor="Blue" Text="Visa billig" OnClick="SortList" EnableViewState="true" ID="lkbSort" runat="server"></asp:LinkButton> </th> </tr> … |