Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: liuk
  • Order by date
  1. liuk

    Why this code doesn't work ?

    Ok, this is the HTML of the page ... <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD> <title>WebForm1</title> <meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR"> <meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE"> <meta...
  2. liuk

    Why this code doesn't work ?

    do you want to see the HTML of the whole page or the vb.net code ?
  3. liuk

    Why this code doesn't work ?

    No i didn't crack it... i have two test page and the last code refers to the second one. This is the HTML section for the script : function SaveObjID(OBJID) { document.getElementById('ObjectId').value = OBJID ; } function Scroll(){ var ObjId = document.getElementById('ObjectId').value...
  4. liuk

    Why this code doesn't work ?

    Ops, in the code before read ObjectId for ScrollPos. No, all edit button id have the same structure , change only the number (ctl0, ctl1, ...) (the id is the client id of any button as is in the HTML code of the result page).
  5. liuk

    Why this code doesn't work ?

    Look at this: function Scroll(){ var ObjId = document.getElementById('ScrollPos').value; document.getElementById('UcEditGridCarico_DG1__ctl8_btnEdit').scrollIntoView(); alert(ObjId); } When i click any of the edit button in grid different from UcEditGridCarico_DG1__ctl8_btnEdit the grid scrool...
  6. liuk

    Why this code doesn't work ?

    Well, this is what happened (tested with debug) when i click the edit button in the grid : - The page load event handler is executed - The UserControl (my GRID) page load event handler is executed - Datagrid's ItemDataBound (i re-bind my grid) - the scroll function (within the Page ) stops with...
  7. liuk

    Why this code doesn't work ?

    On datagrid item databound When the grid is bounded i attach the script code to each edit and cancel button in order to reposition that row into the DIV where the grid is placed. When the user click the edit button the id of the button is saved into the hidden field and then, after postback...
  8. liuk

    Why this code doesn't work ?

    yes, exactly
  9. liuk

    Why this code doesn't work ?

    Yes, initially i wrote something like that. It's always the same... the variable has the correct value,but it seems it can't find the object. But if i write document.getElementById('ObjectID') = 'ucEditGrid_DG1__ctl5_btnEdit' into the SaveObjId function, the scroll function works well.
  10. liuk

    Why this code doesn't work ?

    hi i write this code : VB.NET Code Private Sub DG1_ItemDataBound(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.DataGridItemEventArgs) Handles DG1.ItemDataBound If (e.Item.ItemType = ListItemType.Item) Or (e.Item.ItemType = ListItemType.AlternatingItem) Then...
  11. liuk

    Repositioning within a div

    I tried to write this code too : VB : Private Sub DG1_ItemDataBound(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.DataGridItemEventArgs) Handles DG1.ItemDataBound If (e.Item.ItemType = ListItemType.Item) Or (e.Item.ItemType = ListItemType.AlternatingItem) Then...
  12. liuk

    Repositioning within a div

    Hi, i have two div in my asp.net page and a datagrid in each one of them. when i scroll a div and then edit an item the grid scroll back on top, so i must return to the selected item. How can i make thi automatically with a script? I tried this but it doesn't work : function...
  13. liuk

    Which event is raised when datagrid page changes?

    Hi, in my web form i have a paged datagrid . I'd like to make some operation (client side) when the user changes the page. How can i catch this event client-side? Thank you
  14. liuk

    Repeat the last group header in each page header

    I have up to 5 nested group in my report (crystal report 9) GROUP A GROUP B GROUP C GROUP D GROUP E DETAILS I want the innermost group header (GROUP E) wich contains the detail's column name to be repeated at the beginning of each page . I selected a NEW PAGE AFTER for...
  15. liuk

    accessing Subrport field?

    Hi, it's possible to access a subreport field from the main report?
  16. liuk

    Add/Remove group from a report (CR9)

    Hi, i'm facing my first report with Crystal Report 9 and .NET The question is : how can i remove (or add) a group to an existing report programmatically?
  17. liuk

    function returning table

    The function parameter is a field of the other joining table. Someone could tell me why it doesn't works?
  18. liuk

    function returning table

    Hi How is it possible to join a function returnin a table with a table? If i write : Select Document.IdDoc, F.Id From Document inner join dbo.FNC_GetData(Document.IdDoc) F on Document.IdDoc = F.IdDoc i get an error "Incorrect syntax near '.'" If i write Select Document.IdDoc, F.Id From...
  19. liuk

    Problem with debug

    I have a problem with .net When i try to debug my project it tris to download a .js file (of a componetn i use in my pages). it ask me to load or save that file. Either i load or save it... the debug doesn't start. How can i resolve this problem? That component is used in other pages and no...

Part and Inventory Search

Back
Top