View Complete Post
Hi. I'm new to Visual Studio 2008 and this is my first time using the forum. Could someone give me examples of how to use the ToString(), Copy()? I know how to use the "ToLower() which converts the current string to lower case. I would code: Dim str1 As String = "Hello World!"Dim str2 As String = str1.ToLower()Result: str2 contains "hello world!"I only need to have examples of how I would code the two methods mentioned above. Thanks you inadvance
I am working with an object that handles localized strings. The object type (LocalizedString) provides the correct localized string in its ToString() method.
I have a view model that exposes a property of type LocalizedString. When my current thread and ui culture is changed, I raise the property changed event for this property, however the strings in the UI do not get updated.
I narrowed it down some to discover that it stops working after the value has been read from the property once. If instead of just raising property changed when the culture changes I do this:
LocalizedString temp = MyProperty;
MyProperty = null;
MyProperty = temp; // <-- property changed gets raised in the setter
It seems to work. The only difference is that the LocalizedString object instance changed.
Basically I believe what happens is this: The dependency property (TextBlock.Text in this case) gets notified that the bound value has changed. It goes and retrieves the property value (LocalizedString object),
does a comparison and sees that the previous value and the new value are the same object instance, and stops - does not refresh the
I face this "Jscript runtime error: Object does not support property or method" whenever im trying to run this page.
Im using Microsoft Visual web developer 2008, i wonder if this is related to my problem, i not sure there is anything i need to add as reference or update anything.
Anyway, it happen that last time i tried use the same type of jquery code in another project and it seems to work well without an error.
But now when im try to use it again in this recent project i created, it come out with this error and i have no idea how to solve it even look through google and this forum.
So below is my code that i need to use.
I am trying to figure a way to SSO with ASP.NET membership and role model.
I can implement custom membership provider which consume web services hosting on a server.
With encryption of data. No problem.
But my question is, If I sign on a website with my provider, got my identity object on that application,
could I pass it to another website on another domain which use the same provider and by doing so, do not need to login again?
If this is possible, I am going to implement this solution. Please tell me what's your take on this.