Click here to Skip to main content
15,878,430 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: data source problem with web control Pin
jkirkerx20-Nov-11 9:10
professionaljkirkerx20-Nov-11 9:10 
GeneralRe: data source problem with web control Pin
rachel_m20-Nov-11 14:32
rachel_m20-Nov-11 14:32 
GeneralRe: data source problem with web control Pin
jkirkerx20-Nov-11 15:19
professionaljkirkerx20-Nov-11 15:19 
QuestionSite navigation link generation using sitemap Pin
Tridip Bhattacharjee18-Nov-11 23:46
professionalTridip Bhattacharjee18-Nov-11 23:46 
AnswerRe: Site navigation link generation using sitemap Pin
jkirkerx19-Nov-11 19:35
professionaljkirkerx19-Nov-11 19:35 
AnswerRe: Site navigation link generation using sitemap Pin
Bernhard Hiller20-Nov-11 19:52
Bernhard Hiller20-Nov-11 19:52 
QuestionURL routing issue asp.net 4.0 Pin
Tridip Bhattacharjee18-Nov-11 23:42
professionalTridip Bhattacharjee18-Nov-11 23:42 
AnswerRe: URL routing issue asp.net 4.0 Pin
jkirkerx19-Nov-11 19:44
professionaljkirkerx19-Nov-11 19:44 
Route tables are objects, and the have to be created first. I was looking at your code and it didn't look right. Routes have to be added to a collection or class.

This is the sample at msdn. I was going to write a sample, but I think I would get it wrong. I assume it's the global file, you can write this in a class as well, and call the class.

Be careful, I tried it before, and it backfired on me, with bots not seeing the routes, and cataloging the raw url, and some other stuff.

VB
Sub Application_Start(ByVal sender As Object, ByVal e As EventArgs)
    RegisterRoutes(RouteTable.Routes) // You have to register your routes
End Sub

Shared Sub RegisterRoutes(ByVal routes As RouteCollection)
    Dim urlPattern As String
    Dim categoryRoute As Route

    urlPattern = "Category/{action}/{categoryName}"
    // You have to add a new object to the webserver for the route to process
    categoryRoute = New Route(urlPattern, New CategoryRouteHandler)

    routes.Add(categoryRoute)
End Sub

QuestionI have some queires releated to DataCalendar Pin
Ostwal Aarti18-Nov-11 1:37
Ostwal Aarti18-Nov-11 1:37 
AnswerRe: I have some queires releated to DataCalendar Pin
Blue_Boy18-Nov-11 1:54
Blue_Boy18-Nov-11 1:54 
QuestionMultiple dll's Refrencing Asp.net Website Pin
vishnukamath17-Nov-11 20:14
vishnukamath17-Nov-11 20:14 
QuestionRe: Multiple dll's Refrencing Asp.net Website Pin
Pandya Anil17-Nov-11 22:25
Pandya Anil17-Nov-11 22:25 
AnswerRe: Multiple dll's Refrencing Asp.net Website Pin
Richard MacCutchan18-Nov-11 0:44
mveRichard MacCutchan18-Nov-11 0:44 
AnswerRe: Multiple dll's Refrencing Asp.net Website Pin
jkirkerx19-Nov-11 19:51
professionaljkirkerx19-Nov-11 19:51 
QuestionGet Regional Language settings. Pin
Mugdha_Aditya17-Nov-11 19:56
Mugdha_Aditya17-Nov-11 19:56 
AnswerRe: Get Regional Language settings. Pin
Bernhard Hiller18-Nov-11 0:59
Bernhard Hiller18-Nov-11 0:59 
AnswerRe: Get Regional Language settings. Pin
jkirkerx19-Nov-11 19:55
professionaljkirkerx19-Nov-11 19:55 
GeneralRe: Get Regional Language settings. Pin
Mugdha_Aditya20-Nov-11 17:38
Mugdha_Aditya20-Nov-11 17:38 
GeneralRe: Get Regional Language settings. Pin
jkirkerx20-Nov-11 18:16
professionaljkirkerx20-Nov-11 18:16 
GeneralRe: Get Regional Language settings. Pin
Mugdha_Aditya21-Nov-11 2:30
Mugdha_Aditya21-Nov-11 2:30 
GeneralRe: Get Regional Language settings. Pin
jkirkerx21-Nov-11 7:17
professionaljkirkerx21-Nov-11 7:17 
QuestionIs Visual Source Safe 2005 free? Pin
MaulikDusara17-Nov-11 19:56
MaulikDusara17-Nov-11 19:56 
AnswerRe: Is Visual Source Safe 2005 free? Pin
Pandya Anil17-Nov-11 22:31
Pandya Anil17-Nov-11 22:31 
AnswerRe: Is Visual Source Safe 2005 free? Pin
Bernhard Hiller18-Nov-11 1:25
Bernhard Hiller18-Nov-11 1:25 
Questionto run asp.net 4.0 web application on VS 2005 Pin
sk_ko17-Nov-11 17:36
sk_ko17-Nov-11 17:36 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.