Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:718092
More Search Options
RSS Available
Matching Posts
Convert milimiter or centimeter to pixel
hi i have appliction that draw pdf . i want to let my user to enter unit in milimters and convert it to pixel because the pdf works with pixel how to convert it?
Posted to
Web Forms
(Forum)
by
royroy7
on 11/15/2009
Re: Convert milimiter or centimeter to pixel
thanks,i figure it allready. public double GetPixelPer(UnitType unitType) { switch (unitType) { case UnitType.Cm: return this.GetPixelPer(UnitType.Inch) / 2.54F; case UnitType.Inch: return 96; case UnitType.Mm: return this.GetPixelPer(UnitType.Cm) / 10; default: return 1; } } public double ToPoint(UnitType toType, double value, UnitType valueType) { return (new Unit((value * this.GetPixelPer(valueType)) / this.GetPixelPer(toType), toType).Value) * 72 / 96; }
Posted to
Web Forms
(Forum)
by
royroy7
on 11/15/2009
Re: gridview with textBox OnChangeText
hi. i managed with this option to get the rowIndex: TextBox t = ((TextBox)sender); foreach(GridViewRow row in gvwInvoiceLines.Rows) if (((TextBox)row.FindControl("txtTotal")).ClientID == t.ClientID) now my problem is that the event is not fired on text is changed only when other controls that not in the grid make postback its get in the event Function
Posted to
Data Presentation Controls
(Forum)
by
royroy7
on 10/28/2009
gridview with textBox OnChangeText
hi. how can i get the rowindex when textChanged Happen? that the template of my gridview: <asp:TemplateField HeaderText="VAT"> <FooterTemplate> <asp:TextBox ID="txtVAT" runat="server" Columns="5"></asp:TextBox>% <asp:RangeValidator ID="RangeValidator4" runat="server" ErrorMessage="VAT Percent must be a decimal." ValidationGroup="NewLine" ControlToValidate="txtVAT" Type="Double"
Posted to
Data Presentation Controls
(Forum)
by
royroy7
on 10/28/2009
Re: bind ListBox
how come it possible to it like that in the aspx file: <%#DataBinder.Eval(Container.DataItem, "dataFieldID")%> and in the code its not?
Posted to
Web Forms
(Forum)
by
royroy7
on 10/8/2009
Re: bind ListBox
ok it is almost the answer. so i have few options to do it,what is better and faster to make it, use the onDataBound or itemBound or something else?
Posted to
Web Forms
(Forum)
by
royroy7
on 10/8/2009
Re: bind ListBox
yes. how to do it?
Posted to
Web Forms
(Forum)
by
royroy7
on 10/8/2009
bind ListBox
how to bind listbox tooltip in the code? something like that not work: lbDataField.DataSource = formFields.OrderBy(feild => feild.Name);//.ToList(); lbDataField.DataValueField = "FieldID"; lbDataField.DataTextField = "Name"; lbDataField.ToolTip = DataBinder.Eval(formFields, "FieldID").ToString(); lbDataField.DataBind();
Posted to
Web Forms
(Forum)
by
royroy7
on 10/7/2009
Re: bind ListBox
i know how to get it by move each item. im looking for simple ,easy and fast solution like the use of the Eval function there is something like that?
Posted to
Web Forms
(Forum)
by
royroy7
on 10/7/2009
currencySymbole by CurencyName
i have the currency name and i need to get it symbole ,how should i do it? like USD to get $ or even all the info
Posted to
Getting Started
(Forum)
by
royroy7
on 8/27/2009
Filed under: culture, currency conversion
Page 1 of 18 (178 items) 1
2
3
4
5
Next >
...
Last »
Channel 9:
Channel 9 Live at PDC09: Dr Jeff Norris, NASA
Channel 10:
Flickr Drive Integrates Flickr into Windows Explorer
Channel 10:
Playfire: A Growing Network for Gamers
Channel 10:
Find the Top iPhone Apps with Bing (Yes, Really!)
Channel 10:
Xbox to Become Emergency Alert System
Channel 10:
Progression of the Iconic Background
WindowsClient:
ASP.NET AJAX 4.0 Data Binding on MSDN Magazine
WindowsClient:
Don’t miss out..
TechNet Edge:
Improving Collaboration with SharePoint - Tech Focus December 2009 Part 1
Channel 9:
Channel 9 Live at PDC09: Scott Guthrie
Channel 10:
Get Discounted Concert Tickets at the New Windows Section 7
Channel 10:
Get Bing Wallpapers on the iPhone
Channel 10:
Bing Gets a New Toolbar
ASP.NET:
More on medium trust: what permission are you missing?
Channel 9:
Channel 9 Live at PDC09: Bob Muglia
WindowsClient:
Adventures With Windows Azure Diagnostics
Mix Online:
Adventures With Windows Azure Diagnostics
Channel 9:
Channel 9 Live at PDC09: Ray Ozzie
Channel 9:
Coding4Fun: DrinkTendr
Channel 9:
TWC9: Scott Hanselman, John Galloway, Bing, parallel unit tests, more
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online