Cannot Find Container In The Msdn
Aug 6, 2010I usually use expressions like this
CommandArgument='<%# Container.DataItemIndex.ToString() %> '
But I could not find Container in the msdn,
I usually use expressions like this
CommandArgument='<%# Container.DataItemIndex.ToString() %> '
But I could not find Container in the msdn,
The Visual Studio 2005 web deployment project plugin used to be here:
http://msdn2.microsoft.com/en-us/asp.net/Aa336619.aspx
This just goes to the ASP.NET home page now, and I've had no luck Googling (or ... Binging?) for it. Does anyone know if this is still available for download anywhere?
Does any one know the cmd line call to retrieve the existing RSA key container name so that I can export these RSA keys to another machine?
View 2 RepliesI am trying to find a textbox control within the tabpanel of a tab container of the source page. I have been searching the forums but have been unable to find the right example. Can someone help me or point me in the right direction. The source page is as follows:
[Code]...
I'm trying to find a TextBox in the code-behind page, it's inside a nested master page and also then inside another control container (it's inside ctrlCheckoutShippingAddress also) .
I've tried this:
[Code]....
[Code]....
I'm having trouble locating any reference documents for the AJAX TabContainer control on MSDN.
View 3 Repliesmy company would like to buy Visual Studio 2010 Professional with MSDN Essentials,What's its Microsoft product key (XXX-YYYYY)? Or where can I find its Microsoft product key (XXX-YYYYY)?
View 6 RepliesI just completed the theme switching walkthrough on msdn [URL]/ms366514.aspx, and I want to expand this to convert the DropDownList into a custom control with either swatches or icons that can be clicked to switch the theme. It seems to suddenly become more difficult to work with themes when you change the scope. I found a couple of links online, one that used a global asax file to change the the theme but it didn't actually work.
View 1 RepliesHow are they doing that? I'd like to have a similar setup for my web site. It seems the page refresh when new info is submitted as opposed to say every 5 minutes. Am I right? Any sample code to make something like that work?
View 3 RepliesI am required to make some enhancements to existing UI of my web app VS2005.
It requires me to develop/design MSDN style re-sizable split panes (with treeView on LHS for navigation). see the demo url of msdn library is http://msdn.microsoft.com/en-us/library/ms123401.aspx.has anyone worked on something similar ?
When i SEARCH for a particular topic including code examples for example, SQLDATASOURCE.INSERTPARAMETER the search results come up nothing?In VSDE 2005 version various result examples are display.
The only help content appears to be menu on feature walkthroughs much like in Windows?
I am trying to workaround a case where I have to design my page similar like msdn library page whew left nevigation is collepseble as well as dumemic extemded as per tje wodtj of tree item in tree .
View 1 RepliesI'm writing new section to a website and am looking to use a UI similar to the MSDN Download page with the Product Details and Keys in an accordian like section. Haven't been able to find a description of how this is done as of yet - still looking though but figured I'd ask if there is an available control or a description of that control instead of reinventing it.
View 1 RepliesI am developing a CompositeDataBoundControl that is basically a 'table' inside a 'div', in order to limit the size of the Control and use the scrolling capabilities of the 'div' tag ('RenderBeginTag("div").
So essentially the control is;
<div style="overflow:auto;width:400px;height:300px;">
<table style="table-layout:fixed;">
[code]...
how to write Css for asp.net treeview by applying color and theme like (msdn website treeview)?
View 1 RepliesI am trying to create strogly typed datasets for my project. When I right click on the xsd file that I need to generate a strongly typed dataset for I can't find the 'Advanced' properties as described in the below article (almost half way down)[URL]As I do not see the Advanced properties option I can't find the 'Custom Tool' property/option to set its value to 'MSDatasetGenerator'. Do I have to install some kind of patch on my VS 2005?
View 5 RepliesI want to change the text of the user name text box which is inside a log in view on selected index chaged event of a drop down list.
this is my code:
[Code]....
but both ddl and tb are null
Anyone knows how can I find the controls in code behind?
I've been developing an ASP.NET site on an older machine running XP home. I recently got a new Win 7 PC and moved all my project files across. When I try and run the project, I get this error message: "Failed to decrypt using provider 'MyRsaProtectedConfigurationProvider'. Error message from the provider: The RSA key container could not be opened." I realised that I encrypted parts of my web.config file using a RSA encryption. This is where the problem now lies. I'm not sure how to get that key working again so that I can use it on my new machine. I exported the key from the older machine and imported it using:
aspnet_regiis -pi "RSAProviderName" "C:RSA_configkey.xml"
This was imported successfully. I then ran the project, but the same error message came up. I figured it might be a permission thing, so I ran:
aspnet_regiis -pa "RSAProviderName" "Desktop" -full
This was also successful, but I still get the error. From reading around, I've seen people use "ASPNET" instead of "Desktop" (Desktop is my machine name). However, when I try and use "ASPNET", I get: No mapping between account name and security IDs was done. <Exception from HRESULT = 0x80070534 I can't work on the project until this is fixed,
In a section in the <head> tags of my document I have code that lets me use the Id of my asp.net control from JavaScript like this:
<script language="javascript" type="text/javascript">
var customerId = '<%= Me.CustomerTextbox.ClientID %>';
</script>
However, if I want to modify the page structure in later stages of the page life cycle, it give me an error because I have the ASP tags in there. A work-around is enclosing the ASP tags in a server control like this:
<div id="customerIdContainer" runat="server">
<script language="javascript" type="text/javascript">
var customerId = '<%= Me.CustomerTextbox.ClientID %>';
</script>
</div>
But then I get a warning that a div tag is not allowed in the head tag. So is there a container tag that is valid in the head that I can add runat="server" to to make it a server control so I can workaround this problem without the warnings?
I have a tabcontainer with 5 tab panels in it. The second tab has two listitems, which require an autopostback, but this then defaults back to the first tab, is there a way it can stay on the same tab?
View 7 RepliesI have a tab container on a web page, in which several panels are loaded with heavy peice of data, what i do, i only load the defualt tab data on page load, and the rest of data(i.e data in other tabs) loads behind the screen(i.e using asynchronous request), just to speed up page rendering. now when the page completely rendered(with only default tab data) the load event of javascript fires and it start populating data into other tabs, in this situation when i click any other tab immediately after rendering, it shows the half rendered panel(i.e the data is rendering in panel or the back process is running), which looks awkward sometimes.
So i need to stop the click of any tab until the data into that panel(or in all the panels) fully rendered, by displaying a wait or progress bar image, and then opens up that panel. i need whenever user click on a tab, a wait image should display on the tab header until the panel fully rendered, and then panel will opens up, none of the panel displays half or no data.
Is there a way to make helper in Asp.Net MVC to wrap other html like this:
<div class="lightGreyBar_left">
<div class="lightGreyBar_right">
<!--Content--> [code]...
So that helper will render containing divs and content that is passed to helper method as parameter.
//Controller code
CookieContainer cookieContainer = new CookieContainer();
//makes new cookie here
cookieContainer.Add(myCookie);
//Service/Facade code
//myCookie gets passed here
How do I pull the cookie out of the container to make sure it's the right cookie?
I'm running into a weird issue.. Basically, a user logs into a page and based on his role status(admin or user) determines how many tabs he sees in a tabcontainer. If he is just a "user" then tab index 0 and 1 need to be hidden because they contain admin only functionality.
if(user)
{
Container.Tabs[0].visible = false;
Container.Tabs[1].visible = false;
}
However the problem is if I set more than 1 tab index to visible = false the entire container disappears. Could this be a bug? I know you can only have one tab visible at a time.
My web.comfig file in the webserver is encrypted . I want to do a change to the config file. While I'm trying to decrypt from the command prompt on the server using following command. "aspnet_regiis -pd "appSettings" -app "/AppName" I endup with the following error message. Failed to decrypt using provider 'CustomProvider'. Error message from the provider: The RSA key container could not be opened. The RSA key container could not be opened. Failed! The same command has been working in other environments except in my servers. Also I'm using web forms and I tried the same in both the servers. I have gone through all websites but no use.
View 6 Replies