Search:

Type: Posts; User: nepalbinod

Page 1 of 8 1 2 3 4

Search: Search took 0.03 seconds.

  1. VS 2008 Re: Gridview Button Click Populate data in Txtbox

    Please post your markup and codebehind. Please also mention which language you are using.
  2. Replies
    7
    Views
    903

    Re: efficient design question

    You should have a look on connection pooling mechanism, as well.

    http://www.dotnetspider.com/resources/4413-ADO-NET-Connection-Pooling-at-Glance.aspx
  3. VS 2005 Re: MonthName(##) to foreign language?

    There are various methods to achieve this, out of which, I would recommend you to go with Globalization. Globalization needs a great deal of planning and takes a only a few extra lines of coding. On...
  4. Replies
    5
    Views
    709

    VS 2008 Re: Need Help in JS

    I'm afraid, those would work since values could have been changed since postback. :)
  5. VS 2008 Re: Do a Postback without SQLDatasource binding?

    You might prefer using UpdatePanels for partial page updates/postbacks. Can you post your markup here?
  6. Replies
    12
    Views
    1,239

    VS 2008 Re: Set Textbox text thru JS

    Hey, that's not a valid argument and does not work, either.
  7. Replies
    12
    Views
    2,666

    Re: RadioButton Validation

    You could have also used



    ControlToValidate="txtAmt" ValidateWhenEmpty="true"


    Hope that made sense. :)
  8. Replies
    13
    Views
    1,848

    VS 2008 Re: Ajax Tab Container

    I appreciate! :)
  9. Replies
    12
    Views
    2,666

    Re: RadioButton Validation

    Please change this


    <asp:CustomValidator ID="CustomValidator1" runat="server" OnServerValidate="CustomValidator1_ServerValidate" ClientValidationFunction="CheckAmt"
    ControlToValidate="txtAmt"...
  10. Replies
    13
    Views
    1,848

    VS 2008 Re: Ajax Tab Container

    I am sorry, FindControl is a method, not a property. That's right.
  11. Replies
    12
    Views
    2,666

    Re: RadioButton Validation

    Please post your markup code so that we could have a look and see what's going wrong.
  12. Replies
    15
    Views
    9,931

    VS 2008 Re: Insert Date in Oracle Database

    You should use DateTime.Parse and then assign it to the parameter you are passing to Oracle.
  13. Replies
    8
    Views
    1,040

    VS 2008 Re: Grid view problem

    Then why not put a breakpoint on RowDataBound event and see what happens when the update button is clicked.
  14. Replies
    5
    Views
    990

    VS 2010 Re: Check Sintaxis

    You would need to use some sort of spell checker component, which supports spanish (or is multilingual), like

    http://www.telerik.com/products/aspnet-ajax/spell.aspx...
  15. Replies
    12
    Views
    2,666

    Re: RadioButton Validation

    And instead of doing this,



    If txtAmt.Text.Length > 0 Then
    If IsNumeric(txtAmt.Text) AndAlso CDec(txtAmt.Text) > 10 Then


    use Ajax Control Toolkit's...
  16. Replies
    12
    Views
    2,666

    Re: RadioButton Validation

    And also, I do not appreciate the way the value inside a textbox is dealt.

    Consider this line.



    If IsNumeric(txtAmt.Text) AndAlso CDec(txtAmt.Text) > 10 Then


    It would be...
  17. Replies
    12
    Views
    2,666

    Re: RadioButton Validation

    First of all, if selectedindex is not 5, the CustomValidator should be valid, so change it to.



    Protected Sub CustomValidator1_ServerValidate(ByVal source As Object, ByVal args As...
  18. Replies
    6
    Views
    837

    VS 2008 Re: Display Only Date in GRDVIEW

    Turn off HtmlEncode



    <asp:BoundField DataField="EFFECTIVE_DATE" DataFormatString="{0:dd/MM/yyyy}"
    HeaderText="Effective Date" HtmlEncode="false" />


    Or,
  19. Replies
    9
    Views
    1,673

    Re: SQLcommand serverside for gridview

    That's your requirement. :)



    Can you post the full code from the beginning, from "Page_Load(...". And also--Full markup of your GridView.
  20. Replies
    13
    Views
    1,848

    VS 2008 Re: Ajax Tab Container

    By "special coding", did you mean "Do I have to use findcontrol property in order to discover the dropdownlist which is inside the tabpanel?". If I got you right, yes you will need to use the...
  21. Replies
    9
    Views
    1,418

    VS 2008 Re: Client Side Print Problem

    Since ASP.net runs on server, it would not recognize and/or has no direct association with client peripheral devices such as printers. In order to allow clients to print from your web application,...
  22. Replies
    11
    Views
    731

    VS 2008 Re: Grd Small Problem

    I find it hard to understand. Can you repost the question in simple English? :)
  23. VS 2008 Re: Scrrolling Position Problem in Gridview

    Your issue could be related to postback. Are you using an UpdatePanel, can you show the markup code you're using and the codebehind? :)
  24. Replies
    16
    Views
    1,106

    VS 2008 Re: Textboxes Text Addition

    When you click button to save information to the database. On server side, you could just use the sum value instead of displaying it on TextBox3.
  25. Replies
    16
    Views
    1,106

    VS 2008 Re: Textboxes Text Addition

    The business logic such as calculations and validation should not be missed on the server side, whatsoever. On the other hand, it's always overwhelming to code on client side due to it's tight...
  26. Replies
    16
    Views
    1,106

    VS 2008 Re: Textboxes Text Addition

    As far as you can, you should always try to avoid using client side logic in your web application. Since you cannot "control" browser settings of your users, your logic could just simply be bypassed...
  27. Replies
    8
    Views
    1,377

    VS 2008 Re: Retreive GridView Textbox

    Hey, you should put semicolon on line endings, or else you will get syntax errors. Meanwhile, you should check if the control was properly cast before using it.



    private void...
  28. Thread: Soundplayer

    by nepalbinod
    Replies
    5
    Views
    1,479

    VS 2008 Re: Soundplayer

    You should consider using Silverlight as an audio video player for your site.

    http://silverlight.net/learn/quickstarts/audioandvideo/
    http://forums.asp.net/p/1427965/3195286.aspx#3195286
  29. Replies
    8
    Views
    1,377

    VS 2008 Re: Retreive GridView Textbox

    First of all, your syntax is incorrect.


    Should be


    GridView1.Rows(0).Cells(0).Controls.AddAt(0, txt)


    Thence try to cast the control, check it if it's not nothing, and then use it's...
  30. Replies
    8
    Views
    1,034

    Re: Small Dilema

    Okay. :)

    You can avoid table usage by not using it at all. Meanwhile, to gain some extra free bytes, you could give CSS Friendly Control Adapters a try.

    http://www.asp.net/CssAdapters/

    And...
  31. Replies
    8
    Views
    1,034

    Re: Small Dilema

    Html, Head, Title, & Body are not intended to be repeated. They should appear just once in a document.
    The page title and keywords should be no more than 200 characters. If more than that, some...
  32. VS 2005 Re: imagebutton in gridview header onclick or oncommand event not firing

    Apart from the above, client side validation could also prevent postbacks.
  33. Thread: Gridview

    by nepalbinod
    Replies
    10
    Views
    1,521

    VS 2008 Re: Gridview

    The registered tag prefix is "cc1", but you're using prefix "ajax". Change the above to



    <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajax" %>

    ...
  34. Replies
    28
    Views
    4,542

    Re: Export Data To Excel with Formating

    Some information already provided by mendhak.



    When you load a document having HTML content in Excel, it shows a warning (Office 2007), but lets you open the document. If you make modification...
  35. Replies
    4
    Views
    704

    VS 2008 Re: Grid Checkbox

    Hey, try this if it works:



    <script language="javascript" type="text/javascript">
    function SelectAllCheckboxes(GridControlID) {
    var DOMGrid = document.getElementById(GridControlID);
    ...
  36. VS 2008 Re: Submitting data field in different format using SQLDataSource

    Okay. Use this:


    cdate(DateTextBox.text).ToString("yyyy-mm-dd hh:mm:ss")


    or


    DateTime.Parse(DateTextBox.Text)
  37. Replies
    15
    Views
    1,339

    VS 2008 Re: OnBlur Event

    Why do you want it coded on client side? You should be able to same thing from the codebehind. Remember, javascript could be turned off by users and could bypass your logic. Code server side. :)
  38. VS 2008 Re: Submitting data field in different format using SQLDataSource

    It depends.Date format of ASP.net controls are culture centric. Likewise, if you take a look at result of database query, format will be served according to the current login's "Default Language"...
  39. Replies
    31
    Views
    1,499

    Re: QueryString issue

    Gary's right. Looking at the Url


    http://mydomain.com/mydomain/login.aspx?ReturnUrl=&#37;2fmydomain%2fdefault.aspx


    Your site is located in a directory called "mydomain".

    Now,
  40. VS 2008 Re: Submitting data field in different format using SQLDataSource

    Hi could you post the markup and code being used.
Results 1 to 40 of 293
Page 1 of 8 1 2 3 4



Click Here to Expand Forum to Full Width