It’s interesting to note,that since I’ve started this blog more than a year ago,it’s my first personal post.
I’ve noticed, that my photo albums on Webshots are not picked up by the Google Images.
So I will provide links here and (hopefully) Google indexer will add them.(some comments are in Russian)
DotNetNuke ResourceInstaller.Install Method has parameters that are not documented.
Public Sub Install( _
ByVal status As Boolean, _
ByVal indent As Integer, _
ByVal type As String _
status -if true, it sends output to HttpContext.Current.Response, otherwise it is silent.
indent-number of “ ”s inserted before output messages send to HttpContext.Current.Response. if status=false, ignored.
type -if “modules”, it only installs new modules (called from InstallDNN), otherwise installs all resources(including skins, containers etc)
My application still using VbExpress generated code even if the authors do not do any development/support.
When moving to DNN with URL rewriting I had to modify VBeXpressWebForms.VBeXpressDatePicker.vb .
I’ve commented out in GenerateJScript
‘mnf 26/5/2006 strOut = strOut & “” & vbCrLf
added the “Calendar.js“ file as embedded resource and added
Private Sub VBeXpressDatePicker_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Dim sResName As String = “Calendar.js”
Debug.Assert(Not (Me.GetType().Assembly.GetManifestResourceInfo(sResName) Is Nothing))
See also my post about extra validation to make debugging of WebResources easier.
A few times when I re-start debugging of my ASP.NET application from VS 2005 I received
“Unable to start debugging on the Web Server. The operation has timed out”.
I had to restart IIS to fix the error. Not sure what causes this.
I have more then 70 entries im my blog, and I want to edit some old entry.
My question is: What is the best procedure to find the old entry?
How I am doing now:
1. Search in the Google with “site:geekswithblogs.net/mnf” and keywords about the article.
2.Open the article or just note the date in the link url of the post.
3. Open my blog in Admin mode(EditPosts.aspx)
4.Estimate in my mind on which page the entry is located and open the page.
5.If I select the page correctly, open “edit“ link fot the post.Otherwise try step 4 again.
It is not a big problem, but it should be a better way to do this. Sometimes “category“ can help.
Ideally it should be options to search within “Edit Posts” and also “Edit” link form individual post view.
I am using WinForms.ComboBox and wanted to handle SelectedIndexChanged events. I found that when DataSource is assigned adding each row caused SelectedIndexChanged.
It is a known and aknowledged by Microsoft problem and there are possible workarounds(e.g see http://www.bobpowell.net/ComboBinding.htm or http://www.windowsitpro.com/Article/ArticleID/41825/41825.html ).
I desided that I don’t need to set DataSource but will use
It helped with SelectedIndexChanged event not firing before user actually change the value.
The new problem was that when I programmatically set cmb.SelectedValue=value , selection of the combobox was not changed and SelectedIndex was still -1.
Checking System.Windows.Forms.ListControl.set_SelectedValue in Reflecter confirmed, that only for bounded controls ( dataManager != null) selection would be changed by assigning SelectedValue.
It seems that the best approach would be to temprary remove comboBox_SelectedIndexChanged event handler before data binding, assign DataSource,DisplayMember, ValueMember , assign SelectedValue and then add comboBox_SelectedIndexChanged event handler again.