im using svn for about a year and extremely happy
Yisman2
Posts
-
What would you recommend as a free source code control system -
XMLDataSource.Data not binding rightglad to be of help :)
-
A rant about localization [modified]Hi everyone I must thank you for picking up this subject. I myself develop for multi-directional solutions. i must state that microsft in the last couple of years has taken the .net framework very much forward, as far as localization is concerned. #1 the ide itself is totally unicode/bidirectional (though sometimes u need to save as...) #2 asp.net, being html based, can easily make sites that cater for rtl and ltr languages, i just change the dir of the main form at login/app start (i just didnt know there were so many rtl languages!!!) #3 you have calendars for jewish dates/muslim dates and more. very important, cause "next year" is different depending in which calendar youre referring to i do find though that adobe , even though incorporating full unicode support, does not, standardly, support bi-directional. that you get only with the more-expensive winsoft/me version. all in all, when considering the nightmares bi-directional gave us in the early 90's, i really do thing that ms (and probably other vendors as well) deserve kudos for being so culture-friendly. being that most apps developed today are web-based, i think youre really ppretty-much covered if you use asp.net. even though i found a bug when trying to add a "yi" resource file (for yiddish) to a asp.net solution. i hope the bug will be fixed asap.
-
XMLDataSource.Data not binding righthi thanks for your reply in the end, my assumption was correct, the xds has an attribute called enavlecaching, i turned that off and all is good. thank you for your time and interest, it was a pleasure discussing this with you.:thumbsup:
-
XMLDataSource.Data not binding rightHi Thank you ToddHileHoffer, I did exactly that, but the problem remains. on the landing page i get an old map. here is the current masterpage code
Protected Sub lkbLogout_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles lkbLogout.Click
ClearUser()
CheckUser()
End SubProtected Sub Page\_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load CheckUser() End Sub Protected Sub Page\_PreRender(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.PreRender xdsSiteMap.DataFile = "" xdsSiteMap.Data = CurrentMap.OuterXml MainMenu.DataBind() End Sub
Please reply, i cant figure this out...
-
XMLDataSource.Data not binding rightHello Everybody. Its my first time using the CP forum. though I use the articles all the time... :) I have some code that builds an XML document for each user that logs in. This xml doc should become the datasource for the navigation system. I do not use the built-in membership system, but rather have my own "Users" table and do my own authentication etc. The XML Document is stored in a strongly-typed Session variable (as a public property in a class module). The property name is "CurrentMap" The problem is that setting XMLDataSource.Data to the xml snippet just doesnt work. when i log in i always see the menus belonging to the previous user which logged in. Only when continuing in the site do i see the menu items based on the current users sitemap. For testing i used the CurrentMap.Save method to save the doc to disk, and the doc is 100% correct, exactly according to my code. the problem is only on the home page, feels like asp.net is kindly doing some caching which id like to turn off. It may also be in regard to the events that I use to bind the datasource to the xmldoc, and I used quite a few of them. But maybe im just not using the right one... :sigh: This is happening on the code behind in a Master page in asp.net 3.5. here is the entire relevant codebehind file for the master page:
Partial Class IMaster Inherits System.Web.UI.MasterPage Protected Sub Page\_DataBinding(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.DataBinding CheckUser() xdsSiteMap.DataFile = "" xdsSiteMap.Data = CurrentMap.OuterXml End Sub Protected Sub Page\_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load CheckUser() xdsSiteMap.DataFile = "" xdsSiteMap.Data = CurrentMap.OuterXml xdsSiteMap.DataBind() MainMenu.DataBind() End Sub Protected Sub lkbLogout\_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles lkbLogout.Click ClearUser() CheckUser() End Sub Protected Sub xdsSiteMap\_DataBinding(ByVal sender As Object, ByVal e As System.EventArgs) Handles xdsSiteMap.DataBinding xdsSiteMap.DataFile = "" xdsSiteMap.Data = CurrentMap.OuterXml End Sub
End Class
Here is the aspx of the master page
<td colspan="2"> <div id="MainNav" class="MainNav"> <