User Profile

Collapse

Profile Sidebar

Collapse
KUTTAN
KUTTAN
Last Activity: Mar 24 '09, 03:58 PM
Joined: Mar 10 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • X88X88 should be matched for the regular expression [a-zA-Z]{2,3}, since there are two characters
    but this is not matching
    :(
    See more | Go to post

    Leave a comment:


  • at lest 2 character in that and a maximum of 3 characters.

    I am creating a 6 character alpha numeric sting dynamically

    i just want to esure that there is at lest 2 character in that and a maximum of 3 characters.
    others will be automatically digits (3-4)

    I made a regular expression ie like


    ^([a-zA-Z]{2,3}[0-9]{3,4})|([0-9]{3,4}[a-zA-Z]{2,3}?)$

    but is not matching for 22XX22
    here i have 4 digits and 2 letters it must be matching...
    See more | Go to post

  • KUTTAN
    replied to 8 charecter Guid
    in .NET
    Because,

    I just need 8 character, I would like to store it as a special unique identifier for a product in my product table(I don't like it to be a lengthy(32) string).
    See more | Go to post

    Leave a comment:


  • KUTTAN
    started a topic 8 charecter Guid
    in .NET

    8 charecter Guid

    I want to generate 8 Charerecter /digit guid


    How can I do this?

    Guid can be based on my own System.

    That if my code to generate the guid generate in any other system,
    it may or may not (no problem) generate same id

    Any way
    1)it must not exceed 8 characters
    2)it must not generate same guid in same machine
    3)it must not contain the following characters...
    See more | Go to post

  • KUTTAN
    started a topic un expected error in Application_Error
    in .NET

    un expected error in Application_Error

    I am getting the some exception in



    Sub Application_Err or(ByVal sender As Object, ByVal e As EventArgs)

    Dim ex As Exception=nothi ng

    ex = Server.GetLastE rror()

    end sub

    the ex.stackTrace is as follows

    at System.Web.Stat icFileHandler.P rocessRequestIn ternal(HttpCont ext context)
    at System.Web.Defa ultHttpHandler. BeginProcessReq uest(HttpContex t...
    See more | Go to post

  • KUTTAN
    replied to AntiXssLibrary
    in .NET
    Because I usually encode all inputs before i store them indatabse
    and decode/do not decode them depending up on the type of the controll to show he data
    If it is a label i will not decode, if it is a TextBox I will decode before I show...
    See more | Go to post

    Leave a comment:


  • KUTTAN
    started a topic AntiXssLibrary
    in .NET

    AntiXssLibrary

    I find AntiXssLibraryV 1.5Installer
    from
    go.microsoft.co m/fwlink/?LinkId=122628

    it seems to be good

    1)But can any one show me a case where Server.HtmlEnco de fail ?
    2)why decode functions are not provided in this library?
    3)How can I decode if the data is once encoded using AntiXss


    Microsoft.Secur ity.Application .AntiXss.
    See more | Go to post

  • KUTTAN
    replied to horizontal scroll to a ListBox
    in .NET
    yea,
    it is web application...
    See more | Go to post

    Leave a comment:


  • KUTTAN
    started a topic horizontal scroll to a ListBox
    in .NET

    horizontal scroll to a ListBox

    I have a ListBox

    I want to show it with 300px width.(increasi ng the with will lead to bad look of the page , in my case)

    But unfortunately the some data loaded to this ListBox is string having lenght more than 300px

    So user cant read it full , the right side are not seeing

    I can solve this by adding a horizontal scroll to the ListBox

    how can i add th
    See more | Go to post

  • KUTTAN
    started a topic play all media files having
    in .NET

    play all media files having

    I need to play all media files having any extension

    Like .mov , .wmv,.avi,.swf etc..



    How can I do this in an .aspx file
    See more | Go to post

  • KUTTAN
    started a topic Editing xml file ;swapping nodes
    in .NET

    Editing xml file ;swapping nodes

    I have an xml file as follows

    <?xml version="1.0" encoding="utf-8" ?>

    <Nodes>

    <Nodes1>

    <siteMapNode title="Product Cataloge">

    <siteMapNode title="ManagePr oducts" url="~/Admin/Products.aspx" />

    <siteMapNode title="ManageCa tegory" url="~/Admin/Category.aspx"/>...
    See more | Go to post

  • KUTTAN
    started a topic .net web application became very slow on debugging
    in .NET

    .net web application became very slow on debugging

    My .net web application became very slow on debugging
    (it was working fine)



    I have installed the exe described in the post
    http://weblogs.asp.net/scottgu/archi...h-asp-net.aspx
    But it did not help me, what can I do?



    The control hits the break point in

    Application_Sta rt()...
    See more | Go to post
    Last edited by Plater; Jun 3 '08, 08:40 PM. Reason: URL link

  • KUTTAN
    started a topic ValidationGroup
    in .NET

    ValidationGroup

    I have 2 divisions in a .aspx file





    Left division for sing up and

    Right division for login



    In log in division I have placed a user control l (i.e. a Login.ascx control)

    I have two image buttons

    one in Left division and

    one in the .ascx file.





    But when I fill...
    See more | Go to post

  • KUTTAN
    started a topic SUBSTRING(), HTML tags issue
    in .NET

    SUBSTRING(), HTML tags issue

    In my home page I am showing a small part of my product’s description.



    I am achieving this by using “SUBSTRING” function in sql server stored prodedure.



    SUBSTRING(Produ ct.Description, 1,198)

    Description may contain HTML data or pure text



    That all is ok



    But this create a problem in my page layout,...
    See more | Go to post

  • KUTTAN
    started a topic current applications virtual path in global.ascx
    in .NET

    current applications virtual path in global.ascx

    I want to get the current applications virtual path in global.ascx
    (event Application_Sta rt())
    How can I access that ?

    Request.Applica tionPath is not valid there :(
    See more | Go to post

  • KUTTAN
    started a topic file is being used by any process?how to check this
    in .NET

    file is being used by any process?how to check this

    How can i determine whether a file is being used by a any process
    ?
    senario

    I am creating some pdf files on a server and mails it to some people as attachment.
    After it i have done the coding to delete all files in the perticular directory

    Since the files are being appended to mail i am getting error like
    "the file is being used by other process......"
    So how can i deter...
    See more | Go to post

  • alert("..."+tab le.rows[i].childNodes[7].firstChild.val ue);
    this is undefined in Mozilla
    but ok in IE
    my table has tbody thead etc is it a problem?...
    See more | Go to post

    Leave a comment:


  • [HTML]<table style="width: 100%; border-collapse: collapse; empty-cells: show;" border="0" cellspacing="0" >
    <colgroup>
    <col>
    <col>
    <col>
    <col>
    <col>
    <col>
    <col>
    <col>
    <col>
    <col>
    <col>
    </colgroup>
    <thead>...
    See more | Go to post
    Last edited by gits; Oct 12 '07, 09:11 AM. Reason: added code tags

    Leave a comment:


  • i have done
    alert("..."+tab le.rows[i].cells[7].firstChild.val ue);

    it is the correct number for IE
    but
    this is undefined for Mozilla

    I have also tried parseFloat ,parseInt
    nothing good happned
    ;(
    See more | Go to post

    Leave a comment:


  • Calculating total of 7th column of my table-->NaN

    i want to total of all 7th columns(in all rows) of my table

    my tables id is ctl00_ContentPl aceHolder1_Quot e1_RadGdProduct List_ctl01

    The first row of the table is headings

    the following code works fine in IE7
    But I am getting 'NaN' when i use Mozilla

    i found that
    [i]var rowTotal=Number (table.rows.cel ls[7].firstChild.val ue);

    is causing problem
    what should...
    See more | Go to post
    Last edited by gits; Oct 12 '07, 09:10 AM. Reason: added code tags
No activity results to display
Show More
Working...