12,085 Topics

Member Avatar for
Member Avatar for Violet_82

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"> …

Member Avatar for Violet_82
0
216
Member Avatar for Violet_82

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 …

Member Avatar for Violet_82
0
229
Member Avatar for sniigg

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....

Member Avatar for pritaeas
0
1K
Member Avatar for sganandhsg

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 …

0
67
Member Avatar for Muhammad_70

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]) >= …

Member Avatar for ddanbe
0
342
Member Avatar for Violet_82

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> …

Member Avatar for Violet_82
0
538
Member Avatar for Violet_82

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 …

Member Avatar for Violet_82
0
720
Member Avatar for sadaquat_1

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 …

Member Avatar for pritaeas
0
105
Member Avatar for lefteris.gkinis

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 …

Member Avatar for BMXDad
0
496
Member Avatar for Sumith Asanka

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 …

0
126
Member Avatar for Violet_82

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 …

Member Avatar for Violet_82
0
394
Member Avatar for Roisin

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 …

Member Avatar for Roisin
0
162
Member Avatar for Blueie

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 = …

Member Avatar for JorgeM
0
174
Member Avatar for raxsun
Member Avatar for Violet_82

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 …

Member Avatar for JorgeM
0
678
Member Avatar for Blueie

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 …

0
98
Member Avatar for Blueie

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 …

Member Avatar for BMXDad
0
195
Member Avatar for Violet_82

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 …

Member Avatar for Violet_82
0
166
Member Avatar for Violet_82

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 …

Member Avatar for Violet_82
0
234
Member Avatar for Violet_82

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 …

Member Avatar for BMXDad
0
323
Member Avatar for shehzad.ali.399

how can I make a telephonic conversation in my website using asp.net with c#...

Member Avatar for BMXDad
0
87
Member Avatar for jeripotula

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 …

Member Avatar for glennferrie
0
536
Member Avatar for sana.f.qureshi_1

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: …

Member Avatar for sana.f.qureshi_1
0
575
Member Avatar for sana.f.qureshi_1

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. …

Member Avatar for BMXDad
0
290
Member Avatar for Blueie

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 …

Member Avatar for Blueie
0
361
Member Avatar for Subzero007

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 …

Member Avatar for tdrosiadis
0
2K
Member Avatar for Blueie

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 …

Member Avatar for Blueie
0
251
Member Avatar for Blueie

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 …

Member Avatar for JorgeM
0
121
Member Avatar for MaheshChaterjee
Member Avatar for minhaajmuntasir.edoo

How do i access a masterpage hyperlink control from a content page in asp.net 4.0 using vb?

Member Avatar for JorgeM
0
84

The End.