Web Forms :: Trying To Figure Out A Menu Presentation?
Jul 29, 2010
I'm looking at a site with horizontal menu and sub-items for each item. When an item is clicked, a second horizonal menu is presented under the first, with all the sub menu items for that particular main item. I can do this with the asp.net menu? Almost seems like it would require a second menu control under the first.
View 3 Replies
Similar Messages:
Jan 4, 2010
I need to figure out though c# whether the OS is 32 bit or 64 bit.
Does IntPtr.size is the right way to figure out the version? 4 => 32 and 8=> 64
Does Environment.OSversion.version.major is right way? 5 => 32 and 6=> 64
OR should have to check both of them?
View 2 Replies
Sep 30, 2010
how can I figure out from within a server control wheather it is being used in design mode or in runtime ?
View 5 Replies
Aug 10, 2010
I have a page that has a note to the user about the file they're about to download and a button to click to start the download. When they click the button, it does a Response.Redirect to another page with the following code in its Page_Load:
Response.Clear()
Response.Buffer = True
Response.AppendHeader("Content-disposition", "attachment; filename=" & FileName)
Response.AppendHeader("Content-length", FileSize.ToString)
Response.ContentType = "application/download"
Response.WriteFile(Page.ResolveUrl(FilePath))
Response.Flush()
Response.End()
I want the download to start and then I want this page (which is a tab in the browser) to close.
The code to download the file works fine. I just can't figure out how to close this tab when it's finished. I understand that Response.End means that I can't put any more code this page; it will be ignored. But how do I get this tab to close?
View 5 Replies
Mar 23, 2011
I've been researching an issue for quiet some time, but most of the posts I'm reading are older. I'm trying to figure out if there is a new solution to getting an asp:dropdownlist vertical scrollbar. I have several dropdownlists with fixed widths, but the data that populates these dropdownlist do not fit inside the width. Is there a recent - acceptable workaround or solution? I'm using Visual Studion 2010.
View 4 Replies
Jul 26, 2010
I'm trying to create a simple contact form for a website and cannot figure out how to properly configure it. I have a simple code I got off a tutorial (VB), that I pasted inside my Contact.aspx code-behind-page:
[Code]....
It brings up errors everywhere (declarations expected, etc) in the code-behind-page. I'm new to VB so I don't know what I'm missing. The above code is exactly the content in my code-behind. Does anyone know what I'm missing?
View 4 Replies
Jul 13, 2010
Working with VB code - I have code which displays a figure between brackets. The figure displayed is a count of the amount of entries made to my textbox and outputs to my placeholder- I hope I make sense here...???Anyways, I'd like to output the correct data and time (at time of textbox entry) instead of the count.
[Code]....
[Code]....
View 5 Replies
May 23, 2010
I have multiple nested GridView controls where I have one field/column that always have one of three values only (0, 1, and 2) and this is editable field. Now, instead of putting this field as a DropDownList for the end-user to choose either one of these values (0, 1, or 2), I am representing each value with a specific clickable image, so the user can click the image to switch among the mentioned field states (0, 1, or 2).
I managed to do this with ImageButton and AJAX. However, the volume of this field is too high, the page is quite big, and the end-user needs to do change the state/value of this field most frequently, which causing a flicking issue in the page and slowness (because the code is done by AJAX, so in the server side) where the customer is not accepting it.
how we can rectify this issue; for example using javascript coding (but I need to get the selected value from code-behind)? I found the AJAX Toolkit ToggleButtonExtender which is very good and not causing the flicking/slowness issue, but unfortunately, this ToggleButton has only two states while I need three states option.
View 2 Replies
Jun 22, 2010
I found a good website to show presentation with video and slides at the same time. The video is nicely synchronized with the slides. I would like to know whether it can be done in ASP.NET web form. If yes, how to do it? What is the logic to implement this feature?
View 3 Replies
Aug 26, 2010
How can i view a PowerPoint Presentation on ASP.NET Page. If my PPT file is in the "PPTFILES" folder on my website root.
View 1 Replies
May 7, 2015
I have a ASPX Page. where I have a link view, which when I click on it it should open a power point presentation in the different window.which is already save in db
View 1 Replies
Apr 15, 2010
I have a .NET app (webforms - .NET 3.5) that is running on a 64-bit server as 32-bit (I checked the IntPtr.Size result). The compilation is set to AnyCPU so I would expect that on a 64-bit machine, the app would be run at 64-bit. There are many Third-party programs incorporated into the app, could they be causing a problem? How do I figure out why 64-bit compilation is not being done?
View 1 Replies
Oct 13, 2010
I'm trying to figure out how to use SSL for only certain pages on my website. It's an ecommerce site, and I don't want the whole site to use SSL, only the checkout areas. I'm not sure what's needed to set this up, is it all IIS, web.config file, etc. I'm hosting with Discount ASP.Net, and will purcase an SSL cert through them for my site.
View 5 Replies
Jan 8, 2011
What is the best way to unit test the presentation layer of a web forms application? I have been told that there are frameworks available like Watin. Are there better tools around?
View 1 Replies
May 29, 2010
I have a date base with a table named 'movies'. I want to take information on my database. I use a SQLDataSource. For my presentation, I use a repeater. Here is my code :
[Code]....
But if for exemple, 'champ1' is empty in my database, i don't want to print it in the result of my query ! But i can't arrive ...
View 9 Replies
Apr 5, 2010
I have sesssion time out issue. Mine is a very big application and 10 yrs old application, so I m unable to figure it out. I have these timeouts in my web.config file. Session is getting expired in 2-3 min or sometimes I m unable to figure the exact time. Here is my timeout sessions in web.config file
<httpRuntime maxRequestLength="102400" executionTimeout="360"/>
<sessionState mode="StateServer" stateConnectionString=" something" cookieless="false" stateNetworkTimeout="30" timeout="30"/>
View 7 Replies
Dec 19, 2010
I'm passing a variable between pages and want to print the value of the variable on my page and don't particularly want to try to get into figuring out the codebehind stuff. I can't figure out the syntax. I'm trying:
Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="WebForm2.aspx.cs" Inherits="WebApplication2.WebForm2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<script runat="server">
Request.Querystring("letter")
</script>
I know I'm passing the variable correctly because it works in a query further down the page, so I suspect I'm just not using Querystring right.
View 1 Replies
Jul 13, 2010
I am trying to figure out what is the best way to go about creating functionality like this[URL]with ajax. I am just looking for the clock countdown functionality and the constant seamless update of the price.
View 5 Replies
Aug 6, 2012
How to upload Power Point Presentation in sql server using asp application and
also how to show the PPT to user
View 1 Replies
Feb 23, 2010
Actually what i am doing in my Data Access Layer dragging store procedure to TestDbml to display records and creating data context instance in BAL to retrieve records and my method in BAL is like this
public IEnumerable display()
{
using (TestDataContext db = new TestDataContext())
{
var display = obj.USP_Actor_View_Speciality(p_UserName, 1);
return display as IEnumerable;
}
Now the problem is that how can i iterate or fetch over the records and display accordingly in my Presentation Layer so that i could return all the field parameteres Like ield1=val.field1,field2=val.field2.
View 3 Replies
Jul 23, 2010
I have a solution which has the following structure:
Solution
-Business Entity(project)
-Business Rules(project)
-DataAccess(project)
-Presentation(project)
-ClientBin
-Images
-Login(contains aspx pages, mastpage)
etc
Everything works absolutly fine in dev, but when I move the solution to IIS 7, I get this error! CompanyWeb is the masterpage, which is located in the login directory. Here is the page directive for login.aspx, which is the offending page
<%
@
Page
Title=""
Language="vb"
AutoEventWireup="false"
MasterPageFile="CompanyWeb.master"
CodeBehind="login.aspx.vb"
Inherits="Presentation.login" %>....................
View 1 Replies
Dec 20, 2010
I'm a junior programmer, i do not get the concept of MVC! My method of coding is seperating my application design into 3 layers:
Presentation Layer
Business Layer
Data Access Layer
I find it very practical to a junior developer or at least to me, so i do not really get the point of MVC since i believe MVC just tries to separate logic from UI. Right?
I decided to have this book to help me have a better idea on code design:
http://www.amazon.com/Professional-ASP-NET-Design-Patterns-Millett/dp/0470292784/ref=sr_1_1?ie=UTF8&qid=1292836936&sr=8-1
Note: i also decided to start learning about TDD.
QUESTION:
Is breaking my code design into 3 layers (presentation, dal and business) meets MVC concept?
View 4 Replies
Jul 9, 2010
while viewing Class diagram its images are not clear since they are of small size.Its width are increasing but not height. How to increase its height ?
View 1 Replies
Mar 31, 2011
I have an user control that reads the data from app_data folder and does some processing.In design time I'd like to show the row data in control placeholder (using GetDesignTimeHtml).To do that I need to figure out the absolute path to app_data folder on my project.The HttpContext is not available and HostingEnvironment.MapPath returns null.
View 3 Replies
Jan 21, 2011
Is it possible to generate powerpoint presentation in asp.net using the database values?
View 2 Replies