Web Forms :: Is Any Class For Breadcrumb
Aug 2, 2010how to use breadcrumb in C#.net. Is any class for breadcrumb..
View 2 Replieshow to use breadcrumb in C#.net. Is any class for breadcrumb..
View 2 RepliesI am using ajax tabcontrols( 4 tabs) with a gridview in each tab. When a row is first selected in the first tab, the data relevant to the selected row appears in the second tab in the gridview and so on.I want to create a bread crumb which shows the data selected in each case. For eg ) if I select the data A in tab 1, and data B in tab2, the breadcrumb should show A-->B .
View 3 RepliesDoing some new requeriments over a webApp, here in my job, one of these reqs..talk about a multilingual Menu .. I did the menu without problems..{I Used a CustomSiteMapProvider} but in my website, I have a SiteMapPath.. when the master page is loaded {where the menu and de siteMapPath lives}.. my menu is renderized so good.. but not my siteMapPaht.. it dissapears...It's possible that a siteMapPath reads the siteNodes created in my CustomSiteMapProvider ?
View 2 Repliesmy sitemap path currently displays the root node of my website and only a child node. it is binded to the following web.sitemap:
<?xml version="1.0" encoding="utf-8" ?>
<siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" >
<siteMapNode url="~/home.aspx" title="Home" description="">
<siteMapNode url="~/biography.aspx" title="Biography" description="">
</siteMapNode>
<siteMapNode url="~/links.aspx" title="Links" description="">
</siteMapNode>
<siteMapNode url="~/movies.aspx" title="Movies" description="" >
</siteMapNode>
<siteMapNode url="~/contact.aspx" title="Contact" description="">
</siteMapNode>
</siteMapNode>
</siteMap>
however i want the breadcrumb to display links exactly like my menu. for ex: home|links|bio|register not the child and its parent node!
We have a dynamic sitemap and all nodes in the sitemap display a breadcrumb. Is it possible to have the breadcrumb still showing, but make the link in the sitemap invisible or non-clickable? Reason for this is that... we dont want users to select some pages from the sitemap (becasue they need to conduct a search first to populate a datagrid) and clicking on the link will only take them to an empty page. I tried just removing the url, or having a blank title, but that didn't work.
View 14 RepliesWe have a site that allows a user to drill down through a list. The drill down works by the page calling itself with a different query string. From any level they can choose to go to a different page dealing with the subject matter for that level. All of that works great. However, we would like to put a breadcrumb on the site that allows the user to walk back up the path they used to get down.
Most of the breadcrumbs I have seen do not save the query string. Also, many use some kind of external data provider (database or XML) to build the site map. I am not sure how that would work with the recursive page calls. I don't mind looking at products or coding it myself. I have actualy built something, but it is quirky when people use the browser back button.
I am using wicked code sqlsitemapprovider and it's VB version. Most of the things are going OK! But when I wanted to hide some of the nodes from appearing on menu while staying shown on sitemappath I cannot figure it out. I tried to change the sqlsitemapprovider code but was unsuccessfull.
[Code]....
and I get this error:
Özel Durum Ayrıntıları: System.IndexOutOfRangeException:
visibleKaynak Hatası:
[Code]....
Kaynak Dosya: D:WebsiteskaihlApp_CodeSqlSiteMapProvider.vb Satır:
156
How can I add this functionality into this system.
Bydefault breadcrumbs links are behaving like Navigate Url.Due to this we can not get Previous page data.But can we make that link to behave similar to Postback url, like LinkButton has property PostbackUrl , with the help of this we can get Previous Page data.
View 1 RepliesI have a site that uses parameters in the query string to determine what content to display.
page.aspx?id=1 - Main page
page.aspx?id=1&p=2 - Main page showing info A
page.aspx?id=1&p=3 - Main page showing info B
My issue is that my sitemap contains an entry for page.aspx?id=1, which displays my breadcrumb as it should; however, I obviously don't have an entry for page.aspx?id=1&p=2 so my breadcrumb breaks. I am still on the page.aspx?id=1 page and would like the breadcrumb to display correctly.
Is there a way to remove all the parameters from "&" right? So that my breadcrumb will still display correctly. I've seen options using SiteMapResolveEventHandler but I couldn't get them to work.
I want to display the gridview content in breadcrumb style.
View 5 Repliesi've been looking everywhere to find a good tutorial on building a simple breadcrumb navigation for my application. I know that MVC 2.0 can do this very easily but for my application it needs to be in 1.0 as that is what is used at the University. Could anybody point me in the right direction as I seem to be spending way too much time for something that is supposed to be a simple add on.
View 1 RepliesI have a question for the navigation and I don't know how. For example when the users access the product page, on the top of the page it will display home > product, if the user access one product in the pens category, it will display home>product>pens.
View 6 RepliesI have table with data
[code]...
This table has data about all pages with sub sections and tab column indicates that it is tab on that page but not a new page I want to generate xml and generate a breadcrumb using this data, how can i achieve that using this data?
I am developing a registration process in an MVC application. The process consists of 4 steps. I would like users to be able to see where they are in the registration process. i.e. I would like them to see a breadcrumb with each step displayed. If a user is on the first step, they should see all 4 steps displayed but only the first step should be enabled. If they are in the second step, they should only see the first and second steps enabled etc. The first link would take them back to the first step. I have considered using 4 action links to implement this. Is this the best way? If so, how do I disable and enable actionlinks?
View 6 Repliesi wants to display site navigation in my project using breadcrumb.
View 7 RepliesI have this Control directive in a usercontrol (i've changed the namespace and class name):
<%@ Control Language="C#" AutoEventWireup="true" Inherits="Namespace.Path.To.ClassName" %>
<asp:TextBox runat="server" ID="txtComment" TextMode="MultiLine" ValidationGroup="comment" />
ClassName is a class that lives in a class library and this is the class:
namespace Namespace.Path.To
{
public class ClassName : System.Web.UI.UserControl
{
protected System.Web.UI.WebControls.TextBox txtComment;
protected void Page_Load(object sender, EventArgs e)
{
HttpContext.Current.Response.Write(txtComment == null);
HttpContext.Current.Response.End();
}
I have build a UserControl with separate code behind file.In that code behind file i have defined some public properties in the Partial class of user control that was automatically generated.Those properties will initialize some properties of controls that are used in the control.Now, in .aspx page i used this User Control and initialized the public properties through code behind of aspx page for dynamic contents.
View 6 RepliesHow can I to use System.Drawing.Bitmap class into athoer class?
using System.Data;
using System.Collections;
using System.Globalization;
using System.Data.SqlClient;
using System.Collections.Generic;
using System.Globalization;
using System.Text;
namespace University
{
public class Class1
{
System.Drawing.Bitmap BMP=new System.Drawing .Bitmap();
}
}
when I use System.Drawing.Bitmap gives error this class does not exists
Since we can access the private data member of base class in the derived class with the help of friend function. How can we do the same in C# asp.net? I mean whats the alternative of friend function in C# asp.net
View 2 RepliesUsing the following Webservice definition using aClientArgs as a complex type:
[System.Web.Script.Services.ScriptService]
public class Controller : System.Web.Services.WebService {
[WebMethod]
public void save_client(aClientArgs client)
{
// Save client data
}
}
Then defining aClientArgs as a sub-class:
public class aArgs
{
public string id = null;
public string name = null;
}
public class aClientArgs : aArgs
{
public string address = null;
public string website = null;
}
Returns the following WSDL fragment for the save_client args:
<save_client xmlns="http://tempuri.org/">
<client>
<address>string</address>
<website>string</website>
</client>
</save_client>
When I'm expecting the following:
<save_client xmlns="http://tempuri.org/">
<client>
<id>string</id>
<name>string</name>
<address>string</address>
<website>string</website>
</client>
</save_client>
So it appears that the .NET WebService is not treating inherited properties as arguments/variables for purposes of a web service. How do I get .NET to also use the properties of the base class?
I first need to apologize in case this has been answered before but I'm a newbie (green as they come) and this error keeps popping up even before I start debugging! There are two errors and the second one is:" Error 2
Missing partial modifier on declaration of type 'WFPKenya2.WFPKenya2'; another partial declaration of this type exists"
here is the code, where i am confused what to write in all the properties and functions of the base class stream?
I want to inherit abstract class Stream, but confused about what to write?
[Code]....
I could'nt understand how to define these Properties,Sub and Functions. How i start?
List New Class takes up memory?Do I need C=null; in the code below?
//class Category
public List<Category> SelectAll()
{
List<Category> LV = new List<Category>();
string command = "SELECT * from categories";
SqlCommand sc = new SqlCommand(command, new SqlConnection(GlobalFunction.Function.GetConnectionString()));
sc.Connection.Open();
SqlDataReader dr = sc.ExecuteReader();
using(dr)
{
[code]...
I'd like to inherit all my controllers from a custom base class that I write myself. I can change the line every time I add a new controller, but it would be nicer if I could somewhere specify the default value that gets set there. That way I wouldn't need to worry about forgetting this, and other people who get added to the project later on would have an easier time.
View 3 Repliesam using class diagram of visual studio 2008as you can see the image i need show to user that the period and calendar classes have the idMarket property that refers to market classhow can i do this?
View 1 Replies