View Complete Post
I'm using the following msdn article to use different languages in my web application:
I'm following the instructions step by step in VS 2010, and it creates the resource files exactly how it's supposed to.
However, when I run the program it just doesn't apply it. I don't see the different values from the resource file. If I leave my resource file name as sample.aspx.resx, it works. But when I change it to sample.aspx.en-us.resx, it doesn't work. I'm supplying culture from the aspx page's Culter and UICulture properties. I'm being very careful in choosing the correct file name, as that could be the issue, but it just doesn't work. I also tried changing the culture in the backend code this way:
I am not able to change the direction of popups/Alerts in Arabic culture which should be RTL direction.
Rest of my application is changed in above culture, only problem is with popups and alerts.
Thanks in advance.
I've been handed an application thats connection string implies a local host connection.
I want to make this connection a remote connection, to a database located on a Server. I want the client and server to be able to communicate with one another remotely, instead of a local connection.
How does one create the Data Service, and establish end points to Server and Client? Is it as simple as creating a contract (which I have limited knowledge on constructing), between the two locations, setting up the dataservice, security, and ratifying the 'connetions'?
A smidge of insight, please ;-)
I have been using asp.net menu control that is programmatically binded at runtime and has n child node levels. Now i want to use CssAdapterMenu instead because the menu control contains more than 1000 menuItems(in the near future it can also be more 2000 menuItems) and has very slow response in IE 6 or IE 7.
Now my question is how should i change the classic asp.net menu to CssAdapterMenu. What should be the steps? Any samples example of n child node levels would be helpful
Edited by Nancy Michell
MSDN Magazine February 2002
MSDN Magazine November 2001
MSDN Magazine January 2001
MSDN Magazine July 2000
how can i change the start properites of <ol> tag on the code-behind?
<ol id="mylist" runat="server" start="1">
how can i change the start value with c# ?
I recently changed the max upload size for attachments to TFS work items on our SharePoint site. I did this by going to the
http://tfsserver1:8080/tfs/ProductCollection/WorkItemTracking/v1.0/ConfigurationSettingsService.asmx?op=SetMaxAttachmentSize URL and entering the new size in bytes.
This worked a treat, but not I cannot upload any documents to another site on the same server.
I can open and save documents that are already there, but when I click the 'Upload' button it gives a white page with 'An unexpected error has occurred.' on it.
Is there something else I have to set when I increase the upload limit for work items?
I have a custom folder content type. These folders have several attributes including text fields, choice, dates, and person lookups from AD. When I change the folder name, the folder will keep its date, choice and text box attributes, but lose the person
attributes. If I change it back to its old name then it regains the person attributes. The ID is stays the same. One of the person fields is a required field, but that it still saves as an empty field. If anyone has a work around or even a suggestion
as to what might be causing this it would help a lot.
I'm using one application but have multiple providers in my web.config for memberships, roles and profiles to allow my application to be used by different groups of users who need to connect to different databases.
This means I'm having to change the membership, role and profile providers on-the-fly in my code-behind files. So far I've taken care of the membership and roles a bit like this:
Dim RolePV As RoleProvider = Roles.Providers(GetSettingFromFile("Provider"))
However, I'm having trouble finding out how to do the same sort of thing for Profiles. I've looked at ProfileProvider and ProfileManager but I can't work it out how to access my the profile property that I've created in my web.config file called "ScreenSize". Normally you would just write Profile.ScreenSize to read or write to the property.
Please can you help me to understand how I access the profile property called ScreenSize by dynamically setting the profile provider first?
I'd be very grateful for any help or advice.
Strange but true. Any ideas what might be causing this?
I have a grid view which is populating with a data source through databind. And the Datasource is list of objects.Now when the user selected a row I want to get the object of that row.
I'm trying to get the row like this.
r = gvTruckCarrier.Rows[e.NewSelectedIndex];
but the drv value is
i have a list box, a command button and a grid
when i click a particular record / or multiple records on the list box and then cclick the command button the records r transferred 2 the grid
i also have custom paging, the paging shld ocur as many times i clcik the command button
i have used updatepanel with the command button in it so that partial postback ocurs or there is no page flicker ,
but when i use update panel i get teh records in the grid but custom page is not working . it has no affect even if the records are added
if i remove update panel the paging works properly
how do i manage it with update panel