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!

Recent content by bobetko

  1. bobetko

    access control inside repeater

    Ok, I got it.... A little change was needed "e.Item" instead "RptImages". No wonder it didn't work. Thanks a lot Jim. protected void RptImages_ItemDataBound(object sender, RepeaterItemEventArgs e) { if (e.Item.ItemType == ListItemType.Footer) { LinkButton lPrev =...
  2. bobetko

    access control inside repeater

    thanks, but anyway it doesn't work. protected void RptImages_ItemDataBound(object sender, RepeaterItemEventArgs e) { if (e.Item.ItemType == ListItemType.Footer) { LinkButton lPrev = ((LinkButton)(RptImages.FindControl("linkPrev"))); lPrev.Enabled = false; } } lprev is always...
  3. bobetko

    access control inside repeater

    For this line: if (e.Item.ItemType.Footer) .... I got error: "Cannot implicitly convert ...ListItemType to 'bool'" I guess there should be other way to test footer? Thanks
  4. 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"...
  5. 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...
  6. bobetko

    Session in databinding....

    GetUserFolder function is returning a value, so protect string... instead of protect void .... Works great, thank you. I didn't have idea what to google to look for this answer. Thanks.
  7. bobetko

    Session in databinding....

    should I rewrite the question? This one should be easy!?
  8. 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...
  9. bobetko

    cookies and sessions ....

    Previous post was answer to JurkMonkey.
  10. bobetko

    cookies and sessions ....

    Yes, but how is server supposed to know who you are and what session on the server is bound to your browser at home. Session ID is stored in the form of cookie on your computer and it is used when you make next request to the server. When cookies are off, sessions don't work. At least they...
  11. 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...
  12. 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.
  13. bobetko

    textbox value with onKeyUp event

    Hm, I could swear I tried .text property and I was getting some error. But, now, it's workin fine.... Thanks. .Value property is doing what I explain earlier. thanks
  14. 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...

Part and Inventory Search

Back
Top