text: you missed one line of code [self.view addSubview: label]; code should be
  write like
  UILabel* label = [[UILabel alloc] initWithFrame: labelFrame];
  [label setText: @"My Label"];
  [label setTextColor: [UIColor orangeColor]];
  [self.view addSubview: label]
  Next I get a dialog box asking me to enter the parameter value for the 51
  fields...I hit "enter" 51 times....
  The SELECT clause lists 51 fields. If none of those fields exist in
  PLS_Elkins_072513, the db engine will assume the (unfound) field names are
  actually parameters and ask you to supply values for them ... 51 times.
  Then the subform fields can't find their Control Source in the form's
  recordset, so Access displays #Name? instead.
  Your VBA code includes ...
  Debug.Print strSQL
  So copy that output from the Immediate window, create a new query in the
  query designer, switch to SQL View, and paste in the copied text. That
  effort should help you figure out how you need to change the query so
  Access will accept it without asking for parameters.
  In a bigger picture view, as I under
  allRatesLink is null because it is not being found which leads to the
  Object reference error when you try to set a property of null.
  You need the FindControl to be called after the LayoutTemplate is created
  such as in the OnLayoutCreated handler or after DataBind()
  I hate to work in code behind but sometimes that is only way. This can be
  done in two ways according to me:
  Use EventAggregator to raise the event from your ViewModel once you are
  done with your filtering logic in it. Listen to this event in view code
  behind and in the handler do firstCombo.Focus()
  Second is bit dirty, So there must be the button or the last control after
  which you apply filter on your listview. In the buttonClickHandler/or any
  event of the last control (like selectionchange) directly do
  firstCombo.Focus(). In this case the moment you will press your button
  focus will move to combo.
  Thanks
  I reproduced your application. It seems the problem is in the TargetType
  property of the ControlTemplate:
  <ContentControl Content="{Binding}">
  <ContentControl.Template>
  <ControlTemplate TargetType="ContentControl">
  <Border BorderBrush="Blue" BorderThickness="2">
  <ContentPresenter />
  </Border>
  </ControlTemplate>
  </ContentControl.Template>
  </ContentControl>
  Ok, I find the way to fix the problem. I used <%#Container.ItemIndex%>
  as id value of the div whose visibility property I'd like to change. Then
  send the <%#Container.ItemIndex%> as argument of the java functions
  Here is the code
  <asp:Repeater
  <ItemTemplate>
  <div id="DivComnt" class="Dcomment span9"
  onmouseover="MouseOver_Comment('<%#Container.ItemIndex%>')"
  onmouseout="MouseOut_Comment('<%#Container.ItemIndex%>')">
  <div class="date" >Posted at
  <%#Eval("DateAdded")%></div>
  <br />
  <p style="margin:2px 5px 2px 5px"><%#
  Eval("Comment") %> </p>
  <br />
  <%--reply buttons--%&g
  Your Question 1:
  will there be some issue if we initialize the control properties in
  PreInit()
  instead of Init()
  In PreInit() event, controls are still not initialized completely, so it is
  not recommended to use this event to set Control properties.
  Question 2: for what purpose should we use the OnInit() event
  If question 1 is clear, then you agree that you will initialize Control
  properties in OnInit() as also is said by MSDN.
  Also, there is something important to understand about Init event and
  Control properties.
  In Init you cannot access any controls properties after the last viewstate.
  Suppose you enter some text in a textbox control and click on a button
  control that makes a postback, now you want to view the value latest
  entered. In such case you will be able to see the te
  You could write a plugin to handle this for you. See for some examples.
  You may find more answers if you ask on the mosquitto mailing list.
  You can get the cookies with this:
  CookieCollection tempCookies =
  Microsoft.Phone.Controls.WebBrowserExtensions.GetCookies(this.BrowserControl);
  And set them with this:
  string CookieHeaders = "Cookies: SomeCookie=value1; SomeCookie2=value2;
  SomeCookie2=value2"
  this.BrowserControl.Navigate(new Uri(URL), new byte[0], CookieHeaders);
  Change your FramesCount definition:
  public int FramesCount
  {
  get { return (string)GetValue(FramesCountProperty ); }
  set
  {
  SetValue(FramesCountProperty , value);
  if (ImageFileMask != null) ReloadFrames();
  }
  }
  May b it helps u..........
  for that firstly u have to make ur own controls by inheriting it with
  original controls and set Hieght,width and whatever you want in your
  custom control .........after this when u drag ur own made control
  form toolbox to ur form it will set by ur way whatever u wanted.......
  Please take a look at the Control Authoring Overview page on MSDN for a
  complete answer to your question.
  However, in short, for a CustomControl, you should create a folder in your
  application root directory named Themes. You should add a XAML file named
  Generic.xaml into this folder and you should put a ControlTemplate for your
  CustomControl in there.
  For a UserControl, you can just add your Styles into the
  UserControl.Resources section of the page.
  That's not really what CORS is for. Cross-origin resource sharing (CORS) is
  a mechanism that allows Javascript on a web page to make XMLHttpRequests to
  another domain, not the domain the Javascript originated from, see CORS.
  It has nothing to do with making an object or container public/private.
  On Rackspace, CORS works according to this doc.
  "Amazon S3 Object Lifecycle Management" flushs some objects from your
  bucket based on a rule you can define. It's only about storage.
  What you want to do is set the Expires header of the HTTP request as you
  set the Cache-Control header. It works the same: you juste have to add this
  header to your PUT query.
  Expires doesn't work as Cache-Control: Expires gives a date. For instance:
  Sat, 31 Jan 2013 23:59:59 GMT
  You may read this:
  I finally found out why by looking at the actual response body.
  156|error|500|Error serializing value 'withheld class name' of type
  'withheld class name'|
  Why this error was not being thrown in debug is beyond me, but for anyone
  else reading this question looking for answers, look at your response
  bodies! It is because I was trying to put my instance of a class into
  Viewstate but that class was not marked with the Serializable attribute.
  In one of my applications I control the width of the dialog control by
  setting the following in CSS (in this example I set the width to 600px):
  .lotusDialogBorder, .lotusDialog, .dijitDialogPaneContent {
  min-width: 600px;
  }
  Did);
  check this fiddle
  js fiddle
  here is the code that i have modified.
  function edit(id){
  $("#firstName").val(data[id].firstName);
  $("#lastName").val(data[id].lastName);
  $("#city").val(data[id].city);
  $("#state").val(data[id].state);
  $("#pin").val(data[id].pin);
  }
  The parameters of f.select are: attribute_name,option_tags,options.
  option_tags is supposed to be a string of html option tags.
  There are some helpers to construct such a string from i.e. an array of
  values, a collection etc.: options_for_select,
  options_from_selection_for_select.
  You have to use one of these helpers.
  You can get the existing vehicle_sizees with:
  Model.pluck(:vehicle_size).uniq
  so your select could look like:
  <%= f.select :vehicle_size,
  options_for_select(Model.pluck(:vehicle_size).uniq,@model.vehicle_size)
  %>
  See the Rails Guide on form helpers.
  Use cookie for this
  $(function(){
  var cookieval = $.cookie('cookie-key');
  if (cookieval === 'something'){
  //here restore style
  }
  });
  It depends on whether you make the whole capturing group optional or not.
  If you make the group required but allow it to match the empty string then
  the match will always be set, but might be empty:
  preg_match('/(d)(d?)/', '1', $matches); // $matches[2] === ''
  If you make the group optional by moving the quantifier ? outside the
  brackets, the match will be set conditionally:
  preg_match('/(d)(d)?/', '1', $matches); // no $matches[2]
  You can find the AppBar using Page.BottomAppBar and use FindName method to
  find a specific button and add a handler to that.
  The only point is you are currently creating your SettingFlyout inside an
  anonymous function, so only place you can do that would be inside your
  anonymous function. binding SelectedItem property to ControlTemplate
  <ScrollViewer x:Name="PART_ContentHost"
  Content={TemplateBinding SelectedItem}");
  }}