12,085 Topics
| |
Hello guys, I wonder if you could kindly explain this to me. Basically, I've got a form and a thank you message above it, here they are: <asp:Content ID="Content5" ContentPlaceHolderID="contentPlaceholder" Runat="Server"> <div class="thankYouMsg" id="thankYouMsg" runat="server"> <h2>Thank you for your feedback.</h2> </div> <div class="contactForm" id="contactForm" runat="server"> <h2>Contact me</h2> <div class="form" runat="server"> … | |
Hello guys, I'd like to clarify a few things with IDs and classes. As I've learned so far, ASP.NET adds its own id and overwrite the previous one, if there was any. Let's just take a recent example, the panel I added in my previous thread: <asp:Panel ID="ThankYouPanel" runat="server"> <div … | |
Hi, I want to generate an anchor tag <a href="#" class="close"><img src="resources/images/icons/cross_grey_small.png" title="Close this notification" alt="close" /></a> in code behind using c#...but dunno how to do.... | |
I use showModalDialog to invoke the ASPX file which is used to display a warning message. Once the ASPX file is loaded and popped up, the title always display Web Page Dialog. Eg: Warning! -- Web Page Dialog Warning! -- This is what I specify on the title. But the … | |
public static bool CheckIdentifier(String i) { bool state = false; char[] c = i.ToCharArray(); try { if (Convert.ToInt32(c[0]) >= 65 && Convert.ToInt32(c[0]) <= 90 || Convert.ToInt32(c[0]) == 95 || Convert.ToInt32(c[0]) >= 97 && Convert.ToInt32(c[0]) <= 122) { for (int Index = 0; Index < c.Length; Index++) { if (Convert.ToInt32(c[Index]) >= … | |
Hello guys, I have a simple asp.net form and ideally, upon submission, I'd like to forward the form data to an email address. Here is the form: <div class="contactForm"> <h2>Contact me</h2> <div class="form"> <div class="control-group"> <label class="control-label" for="title">Title</label> <div class="controls"> <select id="title" runat="server"> <option>Mr</option> <option>Ms</option> <option>Miss</option> <option>Mrs</option> </select> </div> </div> … | |
Hi all, I have visual studio 2008 and as I recently started to use it, I still develop the HTML from scratch and then move it to ASP.NET. Anyway, when I did my last site and uploaded the CSS in visual, I got quite a lot of CSS 3 error … | |
I am using asp.net mvc 5 , Entity framework 5, i have following tables: 1. orderid customerid 1 2 2 3 3 1 orderid productname quantity 1 A 10 1 B 15 1 C 20 i.e I want to make a report like following: Total Quantity per customer: total total … | |
I have the following code in my web page <div class="RegFieldsCountry"> <ajaxToolkit:ComboBox ID="Country" runat="server" CssClass="RegComboEntry" TabIndex="8" Width="180" ValidationGroup="SetUserValGroup" AppendDataBoundItems="true" DropDownStyle="DropDown" ToolTip="Country Selection" BackColor="#C0C0C0" ValidateRequestMode="Enabled" EnableViewState="true" ListItemHoverCssClass="CountryHoverListItem"/> <asp:RequiredFieldValidator ID="RequiredRegComboValidator" runat="server" ControlToValidate="Country" ErrorMessage="Η επιλογή χώρας επιβάλλεται." ToolTip="Η επιλογή χώρας επιβάλλεται." ForeColor="red" ValidationGroup="SetUserValGroup" CssClass="RequiredValidator"/> </div> What I get from that is a ComboBox … | |
Hi Guys I have a GridView inside a tabcontainer with some bound data fields , i have set Autogeneratecolumns=false; ShowHeaderwnenempty=true; But i can't see header or grid anymore when run but it is visible on design mode, but if i manualy bind it gridview.datasource=dataset; gridview.databind(); it is showing header and … | |
Hello guys, I wonder if you can help. I've got an existing site that I want to "convert" to an ASP.NET one and I gave a good read at the master template tutorial suggested in another thread, but I'm having a few problems deciding what goes in the master page … | |
Hi, I am currently working on an assignment and am stuck on the very end of it. In a previous assignment we created a SQL database and GUI in vs C# for this one we have to turn this into a web service, I have all forms working apart from … | |
Hello I would be grateful for some assistance getting the date to appear on my page, please. This is the code in my aspx.vb file: Dim Label As Object Function ReturnDate() As String Dim theDate As String = "" Dim NumericDayofMonth As Integer = Date.Now.Day Dim OrdinalSuffix As String = … | |
Hi all, I was just wondering, how do I go about making an asp.net application accessible on the internet? The application is also linked to a SQL database (created in visual studio). I have got server space available but I'm not sure where the sql database needs to be copied … | |
Hello I have what looks like a serious compiler error, serious in that I cannot see any of my files in the browser. When I click on 'View in Browser', I get this compiler error: **BC30451: 'DefaultAuthenticationTypes' is not declared. It may be inaccessible due to its protection level.** That … | |
Hello In my success.aspx file, I have: <asp:Label ID="LblDate" runat="server" class="labelStyle" Text="Label"></asp:Label> and <div class="center"> <asp:Label ID="Name" runat="server"></asp:Label> you have successfully registered </div> and in my success.aspx.vb file, I have: Code for the date, which works, and then: Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load … | |
Hi all, I was having a look at this tutorial on asp.net master pages http://www.asp.net/web-forms/overview/older-versions-getting-started/master-pages/creating-a-site-wide-layout-using-master-pages-cs but alas I have to apply this the other way around: as you would normally expect, you'd create the master page first and then content pages, but I have content pages and now I have … | |
Hello guys, since I have now effectively completed my first asp.net application (it's a very basic application where people...ahem, where I can record overtime) I was wondering what the best way is to add some validation. The page which allows you to upload the details needed (date, hours worked and … | |
Hi guys, as I'm fairly new to visual studio and asp.net, I might be missing something really obvious here...basically I have created a CSS file which is referenced in the aspx file (I dragged the css file from the project to my aspx file). Then I created another aspx file … | |
how can I make a telephonic conversation in my website using asp.net with c#... | |
Hello. as I am new to coding , I couldnt understand how to create a login page without registration and without a database in ASP.NET & C#.net. i would like to write the code for only 1 user and the username and password must be in the code not in … | |
hello good people, i have created atab control and added a gridview in it. When i run it this is how it shows: ![42e98ae1ab28208a1d5964503f00cecd](/attachments/large/4/42e98ae1ab28208a1d5964503f00cecd.png "42e98ae1ab28208a1d5964503f00cecd") i have tried adjusting the heights and widths of both but tono avail. here is my code: <ajaxToolkit:TabContainer ID="TabContainer1" runat="server" ActiveTabIndex="0" Height="421px" style="z-index: 1; left: … | |
Hey good people, I hope you are all well. Ok so here is the scenario, i have 4 tables that i have made in sql server 2008. I am using a drop down menu to diplay their names. Like this... ![ecb53783b16f2f19f927a3cd72bee4d0](/attachments/large/4/ecb53783b16f2f19f927a3cd72bee4d0.png "ecb53783b16f2f19f927a3cd72bee4d0") I am going to use a dataGrid view. … | |
Hello I am trying to build a file upload page where a user can upload files and different messages appear on screen to the user of, for example, the name and size of the file successfully uploaded, whether or not he has even selected a file to be uploaded, and … | |
I am working on a website which is being developed in Visual Studio 2010 with ASP.NET 4. I am trying to programmatically extract an image from a word document. The approach I am using is this: 1. Convert WordApp.InlineShapes[1] (System._COM Object) to a byte[] 2. Convert byte[] to an System.Drawing.Image … | |
Hello I am trying to give focus to a text box on a form: Protected Sub Page_Load(ByVal sender As Object, _ ByVal e As System.EventArgs) username.Focus() End Sub I know the syntax is correct because I use it elsewhere. However, I am getting the following error (please see attached) with … | |
Hello I am attempting something like this: Protected Sub btnUpload_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnUpload.Click If FileUpload1.HasFile Then Try FileUpload1.SaveAs("C:\Uploads\" & _ FileUpload1.FileName) Label1.Text = "File name: " & _ FileUpload1.PostedFile.FileName & "<br>" & _ "File Size: " & _ FileUpload1.PostedFile.ContentLength & "<br>" & _ "Content … | |
Hi, Please suggest how to treat space-only in ASP.NET MVC. Thanks | |
How do i access a masterpage hyperlink control from a content page in asp.net 4.0 using vb? |
The End.