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 Wanet Telecoms Ltd 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: bobetko
  • Content: Threads
  • Order by date
  1. bobetko

    access control inside repeater

    How can I access control inside repeater's footer template. <asp:Repeater ID="RptImages" runat="server"> ... ... <FooterTemplate> <asp:LinkButton ID="linkPrev" CommandName="prev" OnCommand="PaginationClicked_Command" runat="server">Prev</asp:LinkButton> <asp:LinkButton ID="linkNext"...
  2. bobetko

    DropDownList issue

    I have detailsView control which is in Edit mode by default. Control is bound to SQL table. In the table there is field thumbsize which can only have following three values: 1, 2 or 3 I want to have dropdown which will show the current value of thumbsize field, and I want to be able to change...
  3. bobetko

    Session in databinding....

    How can I include session variable in databinding. Example: <asp:ImageButton ID="btnPreview" runat="server" OnCommand="ImagePreview_Command" CommandArgument='<%# Session["UserFolder"] + "images/" + Eval("filename") %>'/> I would like commandArgument of above image button to be something...
  4. bobetko

    cookies and sessions ....

    I am a little bit lost here. If user turn off cookies, then session variables will be lost, and we want be able to pass them trough the pages, because server won't be able to recognize user? Is this right? From this it follows that the Form Authentications won't work as well. For example...
  5. bobetko

    coordinate system

    is it possible to move coordinate system center point and to rotate whole coordinate system? I would need something like: newCoordinateSystem(100,100,60) it would be new coordinate system with center 100, 100, rotated for 60 degrees? I am trying to illustrate what I mean. :-) Thanks.
  6. bobetko

    textbox value with onKeyUp event

    I am trying to get a value of a textbox (before textbox is actually updated) using OnKeyUp event. Here is example Let's say textbox had initial value: 123 Then I click into the textbox and I would continue typing 4567. If I would print textbox value (using OnKeyUp) at this point it would have...
  7. bobetko

    access subform deleting record....

    1) I have main Form and Subform. The Subform is displaying some data depending on the accountID value on the main form. The problem is when I delete record in the subform. It takes several seconds for subform to show new state. Just for the test purpose I created "Refresh" button which does...
  8. bobetko

    fork, dup2, and redirection of the stdin/stdout

    The code below is simply doing shell comand "ls" (as example). Question is, how can I redirect output to go to the some file instead to stdout? int filedesc(){ int n, fd[2]; pipe (fd); switch (fork()) { case -1: //error; case 0: close(fd[0])...
  9. bobetko

    swapDepth

    I have two MCs on the same level, on the _root. I am tryin to swap their depths. _root.mc1.swapDepth("_root.mc2"); The code doesn't work. Here is few details about my MCs: - mc2 is clone of mc1. (new instance) - I dynamically load content (jpg) into MC positioned behind, then, I try to...
  10. bobetko

    execlp question

    I need to write function (filedesc) that will return a File Descriptor. File Descriptor will then be used to read content of the current folder. Can somebody confirm that I am on the right path? Here is my idea: int filedesc(){ int n, fd[2]; pipe (fd); switch (fork()) {...
  11. bobetko

    simple stdin problem

    I am reading from stdin and when I get prompt I don't know how to get out of it. The while loop goes until end-of-file. So, question is what do I type on the keyboard to say: "I am done". I have tried <enter> and all other kind of keyboard combinations and nothing works. ... while ((k =...
  12. bobetko

    TreeView (node.SelectAction)

    What event is raised when user click on already selected node in the tree? There is no OnClick (server side) events. I tried to assign action (TreeNodeSelectAction.Select) to every node, but I don't know how to handle event then. In the help pages, it is clearly said that...
  13. bobetko

    programatically change order of controls?

    I have aspx page with two controls on it. Let's say I have two repeters: <asp:Repeater ID="rImages" runat="server"> //content </asp:Repeater> <br /> <asp:Repeater ID="rCategories" runat="server"> //content </asp:Repeater> In this example Repeater rImages...
  14. bobetko

    Reference control from within master page?

    Is this possible? Let's say I have two files: "mymaster.master" with button control and "default.aspx" with textbox control. When I click on the button (on master) I want to populate textbox (on default.aspx). Thanks.
  15. bobetko

    how can I list folders in shell?

    how can I list folders in shell? I tried: ls -d and it's producing no result.
  16. bobetko

    Can't access control from code-behind page

    I was on the half of my project when suddenly all the controls (server side buttons, labels) became not accessible from within code-behind page. I was getting error: "Control does not exist in the current context". I tried to close and reopen project, to remove page from project, include it...
  17. bobetko

    awk problem

    I have a line of text: "my automobile is running well" I want to use reg. expressions to match "auto" in automobile and to produce new variable which will have matching string. I thought I can do something like this: myvar = grep (/auto/, $2) (after above myvar="auto") but, it's not...
  18. bobetko

    Mandrake 10.0 Screen Layout Problem

    I've just installed Mandrake 10.0. I logged in, I typed startx and I got: Fatal Server Error no screens found I assume I need to properly setup my graphics card. Which is Nvidia Riva 128ZX 8MB (Integrated into motherboard. I think it is supported by Linux) on Pentium 2 PC. I tried several...
  19. bobetko

    match end if the file, reg. exp. ???

    1) How to add new line on the end of the file using SED and basic regular expressions? Thanks
  20. bobetko

    BSTR trivial question

    What would be the best approach to search and replace characters in BSTR type string? Let's say I have: CComBSTR = "The Big House" The resulting string should be: The+Big+House (Want to replace space character with + character) Thanks.

Part and Inventory Search

Back
Top