Search

You searched for the word(s): userid:833527

Matching Posts

  • Dynamic Sort in Linq Statement

    Does anyone have any examples of how to include a dynamic sort field into a linq statement? There are lots of examples online on how to sort on a supplied field name, but the work is done after grabbing the data from the database. I actually want to grab the data from the database already sorted . Here are some quick details: 1) The field name is supplied by a grid, so compile time I don't know what the field name will be. This example addresses that, but it does the processing after grabbing
    Posted to Data Access and ObjectDataSource Control (Forum) by lpage on 11/18/2008
    Filed under: Linq
  • Re: Javascript in Dynamically Loaded User Control

    I found a solution online in case anyone is interested. I think i was calling a different function before, hence not getting it to work. string script = " function HelloWorld(){alert('HelloWorld from code :)');}" ; ScriptManager .RegisterClientScriptBlock( this , this .GetType(), "dodo" , script, true ); A full day wasted on two lines of code... :(
  • Javascript in Dynamically Loaded User Control

    I have a program that dynamically loads a UserControl into an update panel. The user control contains javascript, which for some reason cannot be seen by any of the control inside the user control. I have tried using RegisterClientScript, etc., but this does not work either. I'm thinking it must be related to the fact that the control is either dynamically loaded or because it's in an update panel. Has anyone had success using javascript in this scenario? I've already wasted a whole day
Page 1 of 1 (3 items)