User Profile

Collapse

Profile Sidebar

Collapse
sureshl
sureshl
Last Activity: Nov 8 '09, 06:06 PM
Joined: Jan 7 '09
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • thanks a lot..

    This one worked greatly.....!!
    See more | Go to post

    Leave a comment:


  • sureshl
    started a topic Checkbox validation problem...??

    Checkbox validation problem...??

    Error in client side validation
    object expected error in this line,--> OnClientClick=" return validation1(<%= maxnumber %>);
    Syntax error : in this line :for(i=0;i<maxn o;i++)

    i want to validate atleast a single checkbox to be selected ...

    also i dont know how to do server side side validation for this generated checkboxes ....and then need to display the selected checkbox after validation..... ??...
    See more | Go to post
    Last edited by Frinavale; Jun 26 '09, 06:48 PM. Reason: Changed quote tags into Code tags. Please post code in [code] [/code] tags.

  • need paging in numbers till last page from db in datalist..??

    The below workss very fine , in the type for previous, next concept for paging,

    i need to do with page number Like this,

    1 2 3 4......23 (http://bytes.com/topic/visual-basic-net/) Like this paging in our site........

    Till 4 page visible and then last page number,,,,,? Experts plz suggest ..thx...?


    Code:
    Imports System.Data
    Imports System.Data.SqlClient
    
    Partial Public
    ...
    See more | Go to post

  • how to count time , if only one day left from db .??

    In the below condition , i need to run the time in decreasing order untill the date becomes equal..

    5:35:00 left
    5:34:30 left

    0:29:00 left

    Like this ...

    http://www.w3schools.com/js/tryit.as...s_timing_clock

    ElseIf countdate = 1 Then
    Label1.text = "time count should be viewed"
    End If

    Code:
       currentdate = Date.Now.ToString("MM/dd/yyyy")
    ...
    See more | Go to post

  • In FireFox , the below code s not working

    this code works well for the i.e but its not working in firefox . and also i want to do validations
    only if theatre is selected , but, this is validating for the museum also .
    Code:
    code <html>
    <head>
    <script type="text/javascript">
    function check()
    {
     if(document.fm.ra[0].checked == true && document.fm.ra[0].value == "Theatre")
     {
     fm.text1.style.display
    ...
    See more | Go to post

  • Main Problem

    Whether generated cell
    " percentage.type = 'text'; " using the addrow function , is calling cal() function ,?
    See more | Go to post

    Leave a comment:


  • i dint paste it here

    I have form1 in the code ,

    Code:
    <form id="form1" runat="server">
    Base price<input id="Text1" name="baseprice" type="text" />
    <input id="percen" name="percen" size="6" maxlength="2" onblur="cal();" onkeyup="valid(this,'notnumbers')" type="text" />
    <input
    ...
    See more | Go to post
    Last edited by acoder; Feb 18 '09, 07:52 AM. Reason: Added [code] tags

    Leave a comment:


  • generated cell in a table using javascript function is not calculating the values

    Code:
    function cal()
    {
    	var f = document.form1;
    	var regExp_Count = new RegExp("^[0-9)(-]+$");
       f.price1.value = parseFloat(f.baseprice.value*(f.percen.value/100)).toFixed(0);
    }
    cal() functions , will calculate as such in that formula n display in the price1 text
    using the text property onblur,

    <input id="percen" name="percen" size="6" maxlength="2"...
    See more | Go to post

  • can u help me how to do it in ajax calendar, am quite new to ajax .....
    See more | Go to post

    Leave a comment:


  • how to calendar_selectionchanged event to raise a div region . ?

    In my calandar_select ionchanged event .. am showing a div region in my page on the top of the calendar .
    Like www.bytes.com on clicking Login You will find a small page opens similarly which i want
    Sameway, i want to open a div region on below to the selected date...how can it be made ..
    am using vs2005 vb.net code ajax ...

    This is the div region should open on every calendar_select ionchanged event...
    [code=html]...
    See more | Go to post

  • pure asp.net

    pure asp.net calendar tool ..
    my code behind is c#

    I am trying to build a calendar that loads the fields from a SQL database. I have a asp:calendar control on my web form.

    The database has one table :
    I need to know how to load the items from db to appear on a calendar . I'm using Visual Studio 2005, code behind is in C#.
    See more | Go to post

    Leave a comment:


  • how to bring data's in calendar control in asp.net 2.0 .

    Hi, i dunno how to use calendar control . i need to bring data to the calendar on the respective date , whether calendar control will work both server side and client side. coz if i disable the javascript in mozilla , i couldnt able to scroll through the month , why so . ?

    Want to display , data's from the table on the respective date in that control.. .

    Code:
    CREATE TABLE [dbo].[table1](
        [fid] [int] IDENTITY(1,1)
    ...
    See more | Go to post

  • sureshl
    replied to how to obfuscated with asterisks
    yes , server side is enough ..but how..

    Now my present code and Problem i had explained....
    my below retreives only first data...i mean only this...
    12343 dsf@sd.ds ,
    i want to retrieve all the data, for those uservalue has id =1

    My db :
    tbluser
    uservalue id
    2 1
    3 1
    4 1
    5 1
    and using this uservalue it rerieves...
    See more | Go to post

    Leave a comment:


  • sureshl
    replied to how to obfuscated with asterisks
    Clear now

    This is my first ajax code...Okay , For my issue ,
    I converted my vbscript to javascript , Is my coding is correct , Now i need to work such a way to convert my clear text to obfuscated values . .


    Code:
    function makeRequest(url) {
            var httpRequest;
    
            if (window.XMLHttpRequest) { // Mozilla, Safari, ...
                httpRequest = new XMLHttpRequest();
    ...
    See more | Go to post

    Leave a comment:


  • sureshl
    replied to how to obfuscated with asterisks
    Good one

    This is what i understood, Am i right with these things..?

    Yes . ajax is one which supports latest browsers where any functions can be called by javascript , and the functions status can be checked by readystate function , so whether the connection is success or not

    So, aftr these steps, We have two options to do our need ,
    Responsetext--> Some Text
    Responsexml-->some xml documents...
    See more | Go to post

    Leave a comment:


  • sureshl
    replied to how to obfuscated with asterisks
    ya .. If ajax is the solution..

    plz , U can tell me , how can i do it . .

    Coz i need to hold the value of those obfuscated details . so, that i can see the values when i loaded again .

    Thanks ...
    See more | Go to post

    Leave a comment:


  • sureshl
    replied to how to obfuscated with asterisks
    yes , Server Side or Ajax

    I dunno much about ajax . .

    how can i do this... as my script ensures to make a obfuscated values .

    but problem is , it directly opens directly with obfuscated values , i want to happen aftr clicking button , and have to be permanent untill i change...
    See more | Go to post

    Leave a comment:


  • sureshl
    replied to how to obfuscated with asterisks
    yes i did ,with javascript

    But , i found one problem , that i couldn able to store the changes .

    I mean this eg shows , (done by javascriipt)

    Visualise this eg
    Page open like this..
    12332
    sdfdf@dsdfs.com
    Check (button) if clicked

    Changes to dis
    123****
    sdf**@*****


    But if i refresh the page,
    it again change to
    12332
    ...
    See more | Go to post

    Leave a comment:


  • sureshl
    started a topic how to obfuscated with asterisks

    how to obfuscated with asterisks

    JavaScript Experts,

    I have the following HTML. How could I use JavaScript such that when a user clicks on the checkbox in each row the phone numbers and e-mail addresses are partially obfuscated with asterisks?

    Code:
    <table><tr><form method='post'><td>phone:</td><td>21323</td><td width='10%' align='right'>mail:</td><td>bob@example.com</td><input name='submit'
    ...
    See more | Go to post
    Last edited by acoder; Jan 10 '09, 11:51 AM.

  • sureshl
    replied to Is hidden field required..?
    want my code to output the phone number and e-mail address in plain text, and then when a user clicks on one or the other it will obfuscate part of the relevant string......

    Page should open like ..
    21323
    dsad@dsa.com
    check (button) aftr clicking

    then
    213***
    ds**@*****
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...