Click here to Skip to main content
15,388,998 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionHow I can insert data into gridview without use data source??? Pin
Nowiglah3-Jan-20 4:34
MemberNowiglah3-Jan-20 4:34 
AnswerRe: How I can insert data into gridview without use data source??? Pin
ZurdoDev3-Jan-20 6:30
professionalZurdoDev3-Jan-20 6:30 
GeneralRe: How I can insert data into gridview without use data source??? Pin
Nowiglah4-Jan-20 6:16
MemberNowiglah4-Jan-20 6:16 
AnswerRe: How I can insert data into gridview without use data source??? Pin
ZurdoDev4-Jan-20 7:46
professionalZurdoDev4-Jan-20 7:46 
QuestionError: Make sure that the class defined in this code file matches the 'inherits' attribute, and that it extends the correct base class (e.g. Page or UserControl) Pin
Member 24584672-Jan-20 20:41
MemberMember 24584672-Jan-20 20:41 
AnswerRe: Error: Make sure that the class defined in this code file matches the 'inherits' attribute, and that it extends the correct base class (e.g. Page or UserControl) Pin
ZurdoDev3-Jan-20 6:32
professionalZurdoDev3-Jan-20 6:32 
GeneralRe: Error: Make sure that the class defined in this code file matches the 'inherits' attribute, and that it extends the correct base class (e.g. Page or UserControl) Pin
Member 24584677-Jan-20 17:13
MemberMember 24584677-Jan-20 17:13 
QuestionASP .NET list of text boxes not aligning properly Pin
Member 1462055328-Dec-19 16:23
MemberMember 1462055328-Dec-19 16:23 
I am displaying a list of textboxes on top of an image on an ASP .NET Master/Content webpage. The image is the width of the page and has 6 even spaced white blocks. What I am trying to do is put a number in each image box white space using the CSS and HTML below. What is happening is all of the textboxes are being displayed in the same image box which is the first. In the first, the textboxes are only about 2px apart from each other and not spreading across the image 20px apart as defined it the left CSS tag. Why is my style is not correct?

Master:
// These style sheet classes match each textbox below

        <style>
        .floating_label1 {
            position: absolute;
            z-index: 200;
            top: 65px;
            **left: 115px;**
          //  border: hidden;
        }
        .floating_label2 {
            position: absolute;
            z-index: 200;
            top: 65px;
            **left: 130px;**
          //  border: hidden;
        }
        .floating_label3 {
            position: absolute;
            z-index: 200;
            top: 65px;
            **left: 150px;**
        //    border: hidden;
        }
        .floating_label4 {
            position: absolute;
            z-index: 200;
            top: 65px;
            **left: 170px;**
         //   border: hidden;
        }
        .floating_label5 {
            position: absolute;
            z-index: 200;
            top: 65px;
            **left: 190px;**
        //    border: hidden;
        }
        .floating_label6 {
            position: absolute;
            z-index: 200;
            top: 65px;
            **left: 210px;**
            border: hidden;
        }
}
    </style>
Content:

  <div style="position:relative;">
           <img src="Images/PAXSummary.jpg" />
           <asp:TextBox ID="TextBox1" runat="server" Text="1" style="height:25px; width:25px; vertical-align:central; text-align:center" CssClass="floating_label1" /> 
           <asp:TextBox ID="TextBox2" runat="server" Text="2" style="height:25px; width:25px; vertical-align:central; text-align:center" CssClass="floating_label2" />             
           <asp:TextBox ID="TextBox3" runat="server" Text="3" style="height:25px; width:25px; vertical-align:central; text-align:center" CssClass="floating_label3" />             
           <asp:TextBox ID="TextBox4" runat="server" Text="4" style="height:25px; width:25px; vertical-align:central; text-align:center" CssClass="floating_label4" />             
           <asp:TextBox ID="TextBox5" runat="server" Text="5" style="height:25px; width:25px; vertical-align:central; text-align:center" CssClass="floating_label5" />             
           <asp:TextBox ID="TextBox6" runat="server" Text="6" style="height:25px; width:25px; vertical-align:central; text-align:center" CssClass="floating_label6" />             
         </div>

AnswerRe: ASP .NET list of text boxes not aligning properly Pin
Member 1462055329-Dec-19 1:38
MemberMember 1462055329-Dec-19 1:38 
QuestionASP.Net MVC: How to print raw model in razor view Pin
Mou_kol24-Dec-19 22:19
MemberMou_kol24-Dec-19 22:19 
AnswerRe: ASP.Net MVC: How to print raw model in razor view Pin
F-ES Sitecore25-Dec-19 9:17
professionalF-ES Sitecore25-Dec-19 9:17 
QuestionallowDefinition='MachineToApplication' beyond application level Pin
kuldeeps2117-Dec-19 4:53
Memberkuldeeps2117-Dec-19 4:53 
AnswerRe: allowDefinition='MachineToApplication' beyond application level Pin
Richard Deeming17-Dec-19 5:07
mveRichard Deeming17-Dec-19 5:07 
QuestionScrape with htmlagilitypack problems Pin
Member 175325016-Dec-19 6:02
MemberMember 175325016-Dec-19 6:02 
AnswerRe: Scrape with htmlagilitypack problems Pin
Richard Deeming16-Dec-19 8:41
mveRichard Deeming16-Dec-19 8:41 
GeneralRe: Scrape with htmlagilitypack problems Pin
Member 175325018-Dec-19 11:22
MemberMember 175325018-Dec-19 11:22 
QuestionASP.Net MVC: How data is serialize into model when pass to client side from action Pin
Mou_kol15-Dec-19 9:33
MemberMou_kol15-Dec-19 9:33 
AnswerRe: ASP.Net MVC: How data is serialize into model when pass to client side from action Pin
Richard Deeming16-Dec-19 8:30
mveRichard Deeming16-Dec-19 8:30 
GeneralRe: ASP.Net MVC: How data is serialize into model when pass to client side from action Pin
Mou_kol24-Dec-19 21:14
MemberMou_kol24-Dec-19 21:14 
GeneralRe: ASP.Net MVC: How data is serialize into model when pass to client side from action Pin
Richard Deeming7-Jan-20 8:09
mveRichard Deeming7-Jan-20 8:09 
QuestionHow do I change this code using Inheritance? Pin
Marc Hede12-Dec-19 21:39
MemberMarc Hede12-Dec-19 21:39 
AnswerRe: How do I change this code using Inheritance? Pin
Richard MacCutchan12-Dec-19 22:15
mveRichard MacCutchan12-Dec-19 22:15 
AnswerRe: How do I change this code using Inheritance? Pin
phil.o12-Dec-19 22:23
mvephil.o12-Dec-19 22:23 
GeneralRe: How do I change this code using Inheritance? Pin
Marc Hede12-Dec-19 22:57
MemberMarc Hede12-Dec-19 22:57 
GeneralRe: How do I change this code using Inheritance? Pin
phil.o12-Dec-19 23:26
mvephil.o12-Dec-19 23:26 

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.