Search

You searched for the word(s): userid:718092

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 »