Search:

Type: Posts; User: Rocketdawg

Page 1 of 8 1 2 3 4

Search: Search took 0.16 seconds.

  1. Replies
    5
    Views
    2,724

    Re: Newtonsoft JSON - DeserializeObject

    Hi,

    Take a look at the JObject class (Newtonsoft).

    The basic idea is to get the response string (json). Here's code from my project (getting time zones from Google)

    var raw = new...
  2. Re: so what is the refresh code ...refreshing exactly?

    Hi,
    If the page is doing a refresh every minute, you might want to check out SignalR. Also, Introduction-to-signalr

    I've just started using it on a couple of test projects - it allows 'real time...
  3. VS 2015 Re: ComboBox click to refresh another ComboBox

    Hi, you'll want to use the OnSelectedIndexChanged event on the first dropdownlist to data bind the second.
  4. Replies
    1
    Views
    1,333

    Help with media queries

    Hi all

    I'm pulling out what little hair I have left -- I need some help from a css guru :)

    This aside is set at 100% width and contains images that scale as viewport changes.


    ...
  5. VS 2008 Re: Need to add textbox to each header column of a Gridview and filter

    Hey

    I'm a bit rusty on this but you may be able to catch the text changed event on the textboxes in your header template. You'll need to set auto postback to true. add attribute...
  6. Replies
    5
    Views
    940

    Re: javascript var not incrementing

    Thanks Motil (and Gary)


    I added a trigger to a hidden field


    $('#hdAjax').ajaxComplete(function() {
    alert(counter);
    });
  7. Replies
    5
    Views
    940

    javascript var not incrementing

    Hi all

    I've got a piece of code that is driving me crazy.
    No matter what I try, I can't get the javascript var to increment. BTW, I am using the jquery library. Any ideas?


    <script...
  8. Replies
    5
    Views
    720

    Re: MVC question

    Hey Gep

    :blush: Ok, it was my bad.

    I had been laying out the form before writing the ajax and I left <select id="ddl_coSalutation".... in the mark up. It was right above the target container...
  9. Replies
    5
    Views
    720

    Re: MVC question

    Hey Gep

    I thought I was finally free of ClientID.

    With MVC, I can use a MVC Master and the id's in the content areas are clean (the way they are written). Makes it super easy to use jquery or...
  10. Replies
    5
    Views
    720

    [RESOLVED] MVC question

    Hi All

    I'm working on an MVC application and I ran into a little snag.

    I've got a form with the usual textboxes and dropdowns. I decided to use jquery ajax (GET) to load the dropdowns on load...
  11. Replies
    25
    Views
    1,617

    Re: richtextbox

    http://freetextbox.com/
  12. Replies
    5
    Views
    4,171

    Re: jquery event fires twice

    Hey Gary

    Worked like a champ. I didn't want to restrict what was typed in the textbox, but only run the ajax for valid alpha characters.

    Originally, I had a regex in the pagemethod that checked...
  13. Replies
    5
    Views
    4,171

    Re: jquery event fires twice

    Hey Gary

    Wow, I didn't think about that! I'm pushing the shift key + the letter = 2 alerts.

    I think I'll add

    if (event.keyCode = (!((c >= 65 && c <= 90) || (c >= 97 && c <= 122)))){return};...
  14. Replies
    5
    Views
    4,171

    [RESOLVED] jquery event fires twice

    Hi All

    I've got the an bit of ajax and the succeed runs twice. I've got a global var that I used to keep track.


    var counter = 0
    $('#txtLookupText').keyup(function(event) {
    ...
  15. Replies
    4
    Views
    633

    Re: JQuery & Validation

    Hey Gary

    Thanks

    I had read a lot of articles that said the same thing about eval(), but the warnings all seemed a bit vague.

    This morning I found this article:...
  16. Replies
    4
    Views
    633

    JQuery & Validation

    Hi

    I've started building a web application using jquery.

    The pagemethod uses a class to validate the data passed in from the page (before doing a db insert).
    So for example if
    ...
  17. Line breaks in sql server reporting services

    Hi

    I'm using SSRS to create a requisition for a company. One of the fields is the description which can be quite long.

    They want to be able to cut and paste the description (line by line) into...
  18. Replies
    2
    Views
    544

    VS 2005 Re: Trouble loading usercontrol

    Hi Mendhak

    Thank you. Completely forgot about CType.

    I'll give it a shot later


    Cheers
  19. Replies
    2
    Views
    544

    VS 2005 Trouble loading usercontrol

    Hi

    I'm trying to dynamically load a usercontrol, but have run into a snag.
    Here's my code:

    Dim VendorSelector1 As UserControl = LoadControl("~/*****erControls/VendorSelector.ascx")
    ...
  20. Replies
    3
    Views
    452

    Re: Cleaning up an access database

    Hi

    Thank you for the quick response.

    Is there a way to do that from the query designer? The end goal would be to use a make table command from the query.

    Cheers
  21. Replies
    3
    Views
    452

    Cleaning up an access database

    Hi

    I created a table in Access from an Excel sheet. It's just a list of vendors for the company (all 8000 of them).

    Some of the address lines are not really addresses, so I want to eliminate...
  22. VS 2008 Re: Lessen password requirements in membership provider

    Something like:


    <membership defaultProvider="MySQLDatabase">
    <providers>
    <add name="MySQLDatabase" connectionStringName="MySQLDatabaseConnString"...
  23. Replies
    4
    Views
    2,373

    VS 2005 Re: capture dataKeNames

    Hi

    You should be able to assign the rowindex to the "add to cart" button's command argument.

    In the rowdatabound event:
    btnAddToCart.commandargument = e.row.rowindex

    Then I think you could...
  24. [RESOLVED] help with temp tables and cursors

    Hi all

    I'm trying to set up an automated routine using database mail. This would take no time in vb, but my SQL skills are WEAK.

    I need to (?) create a temp table or cursor to grab the email...
  25. Replies
    3
    Views
    853

    Re: Container Object In DataGrid

    Hi

    I've always had better luck assigning values in the rowdatabound event of the gridview.

    You will need to give the anchor a runat=server & give it an ID

    Something like (This is Friday...
  26. Replies
    1
    Views
    694

    VS 2005 Re: validating Footer Row in javascript

    Hi

    Add a custom validation control (or any other) to the footer and assign the validationgroup="gvABCConfig_footer".

    Assuming you've got a "new" button somewhere, give it the same...
  27. Replies
    7
    Views
    765

    VS 2005 Re: Using Height:100% problem ???

    Could be there's default space around the image or maybe padding in the footer.

    Try removing margin, padding and set border:none on the image and remove padding from the footer.

    It's usually...
  28. Replies
    7
    Views
    765

    VS 2005 Re: Using Height:100% problem ???

    I don't know if it was just the 'cut & paste', but it looks like the container doesn't have a close tag. And that overflow:hidden could be an issue.
  29. Replies
    2
    Views
    553

    Re: Creating users for web app

    Hi

    Thank you.
  30. Replies
    1
    Views
    621

    set value from a dropdown list

    Hi

    I'm having trouble with a piece of javascript

    The script is assigned to a dropdownlist in a gridview.


    Dim js As String = "var ele = document.getElementById('" & ClientID & "');var dd =...
  31. Replies
    2
    Views
    553

    Creating users for web app

    Hi

    I've got a page that allows administrators to create new users. I using the createuserwizard.

    Unfortunately, after a new user is created, that user is logged in. Their name appears in the...
  32. Replies
    3
    Views
    3,234

    Re: Group a datalist?

    Could you nest the datalists?

    Here's an example using repeaters. I used something similar for a newsletter archive.

    http://www.codeproject.com/KB/aspnet/AspNetNestedRepeaters.aspx
  33. Thread: Usercontrol

    by Rocketdawg
    Replies
    3
    Views
    573

    Re: Usercontrol

    Fishcake

    Thanks for the reply.

    I was trying to save real estate in a gridview I'm working on, which didn't really need 30 calendar objects embedded in it. I decided to use a pop up calendar...
  34. Thread: Usercontrol

    by Rocketdawg
    Replies
    3
    Views
    573

    Usercontrol

    How can I refer to a page control from a usercontrol?

    I tried:

    Dim mypage as Page = Me.Page
    Dim Cal as calendar = CType(mypage.FindControl("CalendarName"),Calendar)
    Cal.visible = true

    Is...
  35. Replies
    0
    Views
    561

    [RESOLVED] javascript & stringbuilder

    Hi

    I'm trying to write a little script for a popup calendar. What I'd like to do is set it up so when the button is pushed, the calendar pops right next to the button.

    The trouble I'm having is...
  36. Re: [2008] Passing values from a page to another page

    hey

    you have a several options. you can use cross page posting
    http://msdn.microsoft.com/en-us/library/ms178139.aspx
    or you can use querystrings

    MyNextPage.aspx?LabelText=
  37. Replies
    2
    Views
    1,133

    Re: Entity and Gridview

    I just couldn't let it go and I figured it out. I needed to cast e.row.dataitem as my class, then evaluate the property.

    Anyway, for anyone else who might be stuck, to use the rowdatabound event...
  38. Replies
    2
    Views
    1,133

    Entity and Gridview

    Hi

    I'm working on a class that returns List(of MyClass)

    I got my list to bind and sort with the Gridview, but I ran into a snag in the rowdatabound event.

    When I try to evaluate ...
  39. Replies
    0
    Views
    582

    [RESOLVED] [2008] Web part menu

    I just started working with web parts and I've run into a problem already :mad:

    It's the menu. When I click the triangle in the corner, a menu appears with a standard "Minimize" & "Close"

    The...
  40. Replies
    5
    Views
    1,869

    Re: Get datakeys using imagebutton

    Hi Strick

    How about creating your own function to handle the click event.

    In the gridview

    <asp:LinkButton ID="LinkButton1" runat="server" OnClick="dothis" ToolTip='<%#...
Results 1 to 40 of 295
Page 1 of 8 1 2 3 4



Click Here to Expand Forum to Full Width