Search

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

Matching Posts

  • Menu Control - 1 px line rendered on top of menu because of SkipLink

    Hi, Maybe someone else have noticed this: The Menu control render a SkipLink above the normal table. It is meant to be invisible to normal browsing, but is useful for screen readers. From what I find in documentation the SkipLink is not meant to be rendered as default, but it is definitely rendered! Here is what is rendered for my menu, using VS2008SP1, WinXP SP3, Norwegian language pack and keyboard settings: <a href="http://forums.asp.net/AddPost.aspx?ForumID=139#ctl00_Menu1_SkipLink"><img
    Posted to Master Pages, Themes and Navigation Controls (Forum) by FrodeD on 1/13/2009
    Filed under: asp .net 2..net menu control, CSS Menu, Menu Control
  • Re: Gridview does not update any columns listed in the DataKeyNames property - bug og by design?

    Hi, and thanks for your answer Allen I was simplifying a little incorrectly when I wrote that the values are "read-only" in the above text. And yes, I know I can retrieve the values from the DataKeys collection as you noted, and this is one of the reasons I have used the DataKeyNames property until today. The main issue remains unanswered: The extra column names listed in DataKeyNames are not updated with their new values when using Update button in Gridview edit mode... If I take those
    Posted to Data Presentation Controls (Forum) by FrodeD on 2/5/2008
  • Gridview does not update any columns listed in the DataKeyNames property - bug og by design?

    Hi, I have a GridView bound to a standard SqlDataSource. While error checking my update command for this setup I noticed something funny...kind of :( Any column from my database which was listed in the DataKeyNames would not get the new value posted back when the update was performed. All other columns/parameters worked fine and was updated. If I removed the column names (except primary datakey) from the DataKeyNames property (and closed/reloaded the page to clear any DataKeys array/control state
    Posted to Data Presentation Controls (Forum) by FrodeD on 1/30/2008
    Filed under: sqldatasource, template column, Update(), Updateparameters, .Net 2.0, .NET Gridview Problems, DataKeynames, datakeynames . updatecommand does not work (must declare variable @...)
  • Setting background color of .SelectedItem.parent when a dynamic menuitem is selected?

    Hi, I have a menu control bound to a sitemap file. Here is the basic layout, the skin file only sets the cssclasses for the different menuitemstyles... < asp : Menu ID ="mainMenu" SkinID ="mainMenu" runat ="server" DataSourceID ="mainnavSitemap" DisappearAfter ="1000" Orientation ="Horizontal" StaticDisplayLevels ="2" MaximumDynamicDisplayLevels ="3" StaticSubMenuIndent ="0" StaticEnableDefaultPopOutImage
    Posted to Master Pages, Themes and Navigation Controls (Forum) by FrodeD on 1/15/2008
    Filed under: ASP.NET 2.0 Menu, ASP.net 2.0 Master page Menu SiteMapProvider, .NET 2.0
  • Re: Enable Mailbox Exchange 2007 programatically

    Did you find an solution ? I'm having the same trouble. In local VWD 2005 Express on my computer the code to run powershell works fine, but on the production website I get "Access to the address list service on all Exchange 2007 servers has been denied" and so on due to impersonation not working there I guess. Same impersonation works fine for LDAP/ADSI updates with elevated priviledge though... I'm a totally newbie in .Net remoting so an example on how to do this would be appreciated
    Posted to Enterprise Services Integration (Forum) by FrodeD on 11/9/2007
  • Re: Detailsview problem with multiple datakeynames - GUID primary key

    Well, still no more insight into what is causing this bug in the first place, so I have resorted to a codebehind solution. I get the value for Employeeid in the DetailsView prerender event (using .findcontrol) and use the value at a input parameter to my linked SqlDatasource like this: DetailsView1_Prerender: 'Get the EmployeeID control ... code omitted 'Assign new value to the SqlDatasource parameter and rebind gridview SqlDatasourceGrid.SelectParameters.Item(0).DefaultValue = EmployeeID
    Posted to Data Presentation Controls (Forum) by FrodeD on 11/1/2007
  • Re: Using Linked Server to query Active Directory from SQL??

    This was quite an old post. But I'll just confirm that the issue is probably due to the service account that MSSQLSERVER service runs under needs to have domain access to query ADSI. Use a domain account to run the service and you should be fine, see info here: http://www.codeproject.com/aspnet/LikeDataStores.asp
  • Re: Detailsview problem with multiple datakeynames - GUID primary key

    Thank you for the reply jogi. Please give some more details on how to use the .NewID function as the default value, I'm not sure I understand your idea. The EmploeeID is bound to a label / textbox in the DetailsView template so it's easy to get it. I could probably bind in the codebehind to the Detailsview or label events for Databound or PreRender. I want this parameter value every time the page is posted/retrieved, not only when the EmployeeID is changed during Update or Insert. I don't
    Posted to Data Presentation Controls (Forum) by FrodeD on 10/25/2007
  • Detailsview problem with multiple datakeynames - GUID primary key

    Hi, I've found a issue with Detailsview and GUID... Basic setup for my page is a DetailsView connected to a SqlDatasource, only issue being that my SQL database have a GUID as it's primary key. The basic setup works fine as long as you remember to remove any type declaration for the GUID parameter in the SqlDatasource setup. Some notes suggest you shold use Type="Object" or Type ="String", but most suggest you should delete the Type setting, as I have done. Microsoft might
    Posted to Data Presentation Controls (Forum) by FrodeD on 10/24/2007
    Filed under: UPDATE, Update(), Updateparameters, Databinding DetailsView, DataKeynames, DetailsView, insert, asp .net2.0
  • Re: Gridview viewstate issue with .cell.controls.clear() in _RowDataBound event

    Thanks again for your reply mgodoy_desenv I find that the ImageButton has a imageurl and a height setting, but only the OnClientClick allows me to open the link in a new window using JavaScript Window.Open ... So we're back to Javascript support again unless I missed some workaround . And yes, I know how to use Response.Redirect(), but it cannot open a new window to my knowledge. I think I'll leave it there, and close the case now.
    Posted to Data Presentation Controls (Forum) by FrodeD on 8/28/2007
Page 1 of 2 (16 items) 1 2 Next >