How To Make A UI With A Panel Of Numbers / Highlighted Numbers
Feb 15, 2011
I would like to to make a UI with a panel of numbers, and when hovered above one of them ten the number becomes larger. something like that:
[URL]
I want that when I press a numbers it shows it's value in some other textbox. In which .NET technology is it possible to do it? Windows Forms? WPF? other?
I want to know how to make up dropdown lists with numbers in them and and the end of the page as you selected the numbers they add themselfs up and you see a total at bottom the page
drop down list one 50
drop down list two 55
drop down list three 35
TOTAL IS _____140 _______
(and the end of the page when you select one number in each dropdown list) it adds it up for you and shows your total on the same page
So I have a repeater which binds page numbers. That's all fine. I need to know how to make the paging so that they are in "chunks" of a max of 10 page numbers being displayed at a time.Then if they select a page number, it will show the previous x pages and the next y pages (within the 10 chunk range). similar to google paging I guess. Not using pagedDataSource/gridview/gridlist! This is just purely getting the page numbers.
This seems very basic but I can't seem to find a fast way to do it..
I have the following numbers:
5, 3, 10, 52, 1
I want to order them in the correct format from 1 to 52 and be able to point out which one is the highest, which one is the lowest, which one the second to highest, etc.
When putting this html portion inside the div element : do the things respectively:
<ol> <li> Create button control </li> <li> Assign it to the main user </li> <li> Let me know what happened </li> </ol>
This is how it shows on the page: (Please look at the numbers) So the question is why this is happening?Why are the numbers are appearing outside of the div element. I used:
.messageContainer ol { list-style-position:inside; margin-left:5px; }
which worked just fine but now this is what happened.
This example works great with string variables in ASP.Net:
Session("Stocks") = "MSFT; VRSN; GE" On a different aspx page: Dim StockString() as String = Session("Stocks").ToString.Split(";") for i as integer=0 to StockString.GetUpperBound(0) dim x as string = StockString(i) next i
But...I cannot determine how to take a number (as in val(txtNumber.text) and make it available on a different page.
Now i would like to add numbers to the labels before they are rendered. For example currently the data displayed are like
Tennis Football Basketball Nfl Nba Polo
and the output i would like to have is
1. Tennis 2. Football 3. Basketball 4. Nfl 5. Nba 6. Polo
Could i use ListView1_ItemCreated or the ListView1_ItemDataBound event to achieve this? If that is true, could you point me a place to start? the list view is filled with
Dt = GetDataTable("SELECT Ans1, Ans2,Ans3,Ans4,Ans5,Ans6, Ans1Visible,Ans2Visible,Ans3Visible,Ans4Visible,Ans5Visible,Ans6Visible, From myTable WHERE CatID ='" & cat & "'") ListView1.DataSource = Dt ListView1.DataBind()
I am developing a site in Persian (it a right to left language), and it's supposed to be used both with IE7 and IE8. I don't have any problems with IE7 but in IE8 all my numbers show in English instead of Persian; ie instead of showing ١٢٣ , IE8 shows 123. I tested Culture and UICulture but they didn't solve the problem.
By a great chance, I found that if I Omit "DocType" tag from top of my pages this problem resolves, but some other problems appear like my Ajax popup dialog box won't work as it used to in both IE7 and IE8; I've also seen warnings that say CSS Styles may not work properly without "DocType" tag.
What's wrong with <!DocType>? And How can I solve my problem?
Given Two text Boxes. (TextBox1 & TextBox2), I want add two numbers (using the two text boxes) and show the result in the thrid textbox (TextBox3) instantly i.e without pressing a asp.net button. This is to be done using Javascript. I'm new to javascript so dont have much idea.
This is the asp.net page.
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server">
What's the best way to store a phone number for an app that'll store phones from different countries.I'm thinking about storing the country code as an int and storing the phone number as a string (and at the application level only allow for digits in that string).
I am using this method to calculate the result but instead of showing/displaying the result in the popup window, I want to display the result in Label or something so that It can be copied from the page. I tried using <label> tag but it doesn't work,
Is there a slick way to convert simple numbers (Army time included) to a time format (am, pm format)? I can do the tedious approach, but I was just wondering if there was another way
What I basically need is a Auto Sum script in Visual Basic for Excel. (Dynamically)
Instead, of having to manually insert the auto sum formula() every time I insert a new number in a new column. I want the script to automatically recognize the numbers, and either subtract, add, multiply, or divide. To get the number to get the value of the column.
I tried something like this -
Code:
MyTotal = Application.Sum(Range("A1:A100")) ' returns the total of the values in A1:A100 in the active worksheet. [image redacted due to potential privacy concerns]
I have 2 time columns and a difference column. All of these has a varchar datatype. I converted the time in h.mm format. Now I need to round it off to the nearest quarter/half hour(h:15 = h.25, h.30 = h.50, h.45 = h.75) after calculating the difference between the two time values.
With the HTML helper, how would you enforce number only without submitting? I know it was done with regular expression if you had a textbox in classic ASP.NET