Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
L

lsugirljte

@lsugirljte
About
Posts
29
Topics
13
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Large sitemap loading slowly.... any tricks to speed things up
    L lsugirljte

    I have a menu control on a master page that is attacted to a sitemap that is large. There are 236 items in the sitemap and it's about 52k file size. When I change content pages, there is a 2 second delay for the menu to refresh (reload). Does anyone have ideas how to make the faster? I realize that the content page is a "new" page so the control must reload. Maybe I shouldn't be using a master page? in example, I have 2 aspx content pages based on 1 master page with a menu control on it. When I click from one content page to the other, the menu takes about 2 seconds to load. I've tried putting the menu control on a custom control and caching it but that doesn't gain me anything since the other context page is a new page. Thanks, Jessica

    C# tutorial performance question

  • MenuItemClick not firing on MasterPage with SiteMap
    L lsugirljte

    Well the event fires but the redirect doesn't happen. Not much progress.:(

    Thanks, Jessica

    C# question

  • MenuItemClick not firing on MasterPage with SiteMap
    L lsugirljte

    (repost with code) Thanks. That worked. It modified my aspx menu control by adding the databindings section. Thanks, Jessica

    C# question

  • MenuItemClick not firing on MasterPage with SiteMap
    L lsugirljte

    Thanks. That worked. It modified my aspx menu control by adding the databindings section. Thanks, Jessica

    C# question

  • MenuItemClick not firing on MasterPage with SiteMap
    L lsugirljte

    Thanks. That worked. It modified my aspx menu control by adding the databindings section.

    Thanks, Jessica

    C# question

  • MenuItemClick not firing on MasterPage with SiteMap
    L lsugirljte

    "the page"?? The master page? If the menu items are on the page (I don't use a SiteMap), the page fires the click event. But I have to use a SiteMap.

    Thanks, Jessica

    C# question

  • MenuItemClick not firing on MasterPage with SiteMap
    L lsugirljte

    I'm trying to get some custom control on my MasterPage to happen on the click event on my menu control based on a SiteMap. It's never hitting the MenuItemClick code. Any ideas? In master page: In master page cs: protected void Menu2_MenuItemClick(Object sender, MenuEventArgs e) { lblTest.Text = e.Item.ValuePath; } Thanks, Jessica

    C# question

  • MenuItemClick not firing on MasterPage with SiteMap
    L lsugirljte

    I'm trying to get some custom control on my MasterPage to happen on the click event on my menu control based on a SiteMap. It's never hitting the MenuItemClick code. Any ideas? In master page: In master page cs: protected void Menu2_MenuItemClick(Object sender, MenuEventArgs e) { lblTest.Text = e.Item.ValuePath; }

    Thanks, Jessica

    C# question

  • freezing the SiteMapPath?
    L lsugirljte

    I'm dynamically building my web.sitemap from the database table. It has all the first and second level menu items. On these pages, there are some hyperlinks to more child pages that aren't not in the sitemap. When I drilled down to these child pages, the SiteMapPath disappears. That makes sense since that page isn't in the sitemap BUT I would like to just freeze the breadcrump with the last valid option. Basically, how can I get the SiteMapPath only to refresh (change) when a menu item is changed? Not when a hyperlink is changed? example: menu item 1 (in web.sitemap and appears in the SiteMapPath) menu item 2 (in web.sitemap and appears in the SiteMapPath) hyperlink on menu item 2 page (not in web.sitemap and SiteMapPath is blank) For the hyperlink, I would like the SiteMapPath to display the menu item 2. Any ideas?? :wtf:

    Thanks, Jessica

    C# question database tutorial

  • Easy xml file save question
    L lsugirljte

    got it. Thanks for your help. I thought that would be easier but it wasn't.:) doc.LoadXml(ls_xml); string sitemapxslFile = MapPath("menu_sitemap.xslt"); string tempfile = MapPath("jte.sitemap"); StringBuilder sb = new StringBuilder(); TextWriter tw = new StringWriter(sb); XslTransform xsl = new XslTransform(); xsl.Load(sitemapxslFile); //load xsl file xsl.Transform(doc, null, tw, null); //does transformation XmlDocument ret = new XmlDocument(); ret.LoadXml(sb.ToString()); ret.Save(tempfile);

    Thanks, Jessica

    C# question xml

  • Easy xml file save question
    L lsugirljte

    I thought that was what I was doing in my initial code I posted. string ls_xml; XmlDocument doc = new XmlDocument(); Xml output_xml = new Xml(); ls_xml = GetXMLString(); // returns xml string doc.LoadXml(ls_xml); output_xml.Document = doc; output_xml.TransformSource = "menu.xslt";

    Thanks, Jessica

    C# question xml

  • Easy xml file save question
    L lsugirljte

    OOhh... that gets me so much closer. But my DocumentContent is blank. I looked at other properties but Document.InnerXML contains the initial xml (not post transform). I know the transform is happening because I can add an control to the form and see the transform xml. I just don't know how to access it at run time to save to a file.

    Thanks, Jessica

    C# question xml

  • Easy xml file save question
    L lsugirljte

    No. That will save the original xml document file. and I need to save the xml after the transformation. I want to save the output_xml (type xml, not xmldocument) without parsing through the entire xml.

    Thanks, Jessica

    C# question xml

  • Easy xml file save question
    L lsugirljte

    I know this is an easy one but I can't find any examples. I have a xml file that I transform (via xslt) and I need to save it. How? string ls_xml; XmlDocument doc = new XmlDocument(); Xml output_xml = new Xml(); ls_xml = GetXMLString(); // returns xml string doc.LoadXml(ls_xml); output_xml.Document = doc; output_xml.TransformSource = "menu.xslt"; I can look at the output_xml and it's exactly what I want but in a web.sitemap file. How do I save it without using a xmlwriter to parse through the entire xml file? That seems a little redundent since it's in the desired format already. Thanks, Jessica

    C# question xml

  • Master pages and menus
    L lsugirljte

    Found it. In the epms web.config, there is a line This was causing my problem. http://weblogs.asp.net/dannychen/archive/2005/12/16/433332.aspx (Sorry about posting in this forum. I was in the asp.net forum but when I clicked New Message, it created it in this forum.) Thanks, Jessica

    C# help csharp question

  • Master pages and menus
    L lsugirljte

    Hi, Can anyone see the problem here? I have a very simple master page with a very simple content page. I just want a menu on the master page. There are several things that aren't working the way I would like them to. 1. The menu is horizontal and pushing the content place holder down when it's expanding down. I would like it to hover over the content page and not move it. 2. it's not displaying the items when hovering. It's just displaying a white box where the items are suppose to be. I have been looking at this for 2 days without any progress. Can someone help me? simple.master *********************** <%@ Master Language="C#" AutoEventWireup="true" Codebehind="simple.master.cs" Inherits="EPMS.Frameset.simple" %> Simple Master .toolbar { font-size: 13px; font-family: Verdana; padding: 6px; filter: progid:DXImageTransform.Microsoft.Gradient(gradientType=0,startColorStr=#ffffff,endColorStr=lightblue); }

    simplepage.aspx ******************************** <%@ Page Language="C#" MasterPageFile="~/Frameset/simple.Master" AutoEventWireup="true" Codebehind="simplepage.aspx.cs" Inherits="EPMS.EPMS_Request.simplepage" Title="Simple Page" %>

    This is the simple page.

    web.sitemap *******************************

    C# help csharp question

  • I want a prettier application
    L lsugirljte

    We have several web applications (C#, asp.net 2.0) that are very 1996 looking. We want to update the look of the applications without changing much of the functionality (for now). Is there an easy way to do this? Some good articles? Good resources? I would like to stay in Visual Studio and not use something like DreamWeaver.

    Thanks, Jessica

    C# csharp asp-net visual-studio question announcement

  • GridView and outer joins
    L lsugirljte

    no ideas? anyone?

    Thanks, Jessica

    C# database question announcement

  • GridView and outer joins
    L lsugirljte

    Hi, I have a sql with an outer join that will always return 2 rows. How does the gridview know when they should be INSERTs instead of UPDATEs? It seems to always be wanting to update them. I have even changed the CreateRow routine to be an insert row but it will still calling the DataSourceControl.ExecuteUpdate instead of the DataSourceControl.ExecuteInsert. How do I get it to trigger the insert method?

    Thanks, Jessica

    C# database question announcement

  • Override inherited delegates???
    L lsugirljte

    I found that this worked fine. base.RowUpdating -= new GridViewUpdateEventHandler(base.PreUpdate);

    Thanks, Jessica

    C# question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups