MVC 2.0 Part Of The .NET 4.0 BCL?
Apr 25, 2010Why isn't ASP.NET MVC 2.0 part of the .NET 4.0 BCL ?
View 2 RepliesWhy isn't ASP.NET MVC 2.0 part of the .NET 4.0 BCL ?
View 2 RepliesWe have several asp.net web applications we've built and we also want to embed them into various sharepoint pages. We need to have them look like standalone applications when viewed in their own pages, but also have them look like they fit within the sharepoint page when embedded. We are doing this currently with IFrames and it works ok, but I'm wondering if there is some sort of proxy web part where we can configure the web part to point to an existing web app and it will proxy the contents through from the web app into the sharepoint page removing the need for an IFrame. Possible?
View 2 RepliesI have four columns in database. Consider it as a,b,c and d. I'm trying to place a and b column values in TO part and c and d column values in CC part in outlook. a,b,c,d contains six digits numeric values. I just need to place a and b columns values in to and c and d values in cc part on click of a button.
View 1 RepliesWhen using SPWeb.GetCatalog(SPListTemplateType.WebPartCatalog), it returns an SPList which of course contains a SPListItemCollection of the web parts in the web part gallery. When looping through the items, is there any easy way to get properties of the web parts? Such as AllowClose, CatalogIconImageUrl, etc... I know I can probably accomplish this using the listItem.OpenBinaryStream etc and loading the xml of the .webpart file, but I wondered if there was an easier way to do this.
View 1 RepliesWhats the difference between a SharePoint web part and an ASP.NET web part. I found very less information describing the differences.
View 1 RepliesI m new in web part tools in asp.net, i create a simple page using web part tools, but now i want in my web part zone too open a web site like I Google..
when u use i google there is a functionality to open a web site in web part zone.
When web parts are loaded into a page, the source code shows, for example, the following format to identify a particular web part.
id="ctl00_Header_WebPartManager1_wp1058756736"
This unique ID remains the same for a Web Part once it has been loaded into the page.
I have a custom class which constructs certain web parts each time they are loaded into a page. I need to access this web part id to make changes to the web part before it is loaded.
In my custom class I can access the WebPartManager.ClientID, which gives me:
ctl00_Header_WebPartManager1
How do I access the unique Web Part ID?
(any code snippets in VB, please).
the web part footer does not appear in a webpart like this
<asp:WebPartZone ID="WebPartZone1" runat="server" style="height:100px;" CssClass="PartZone" PartChromeType="TitleAndBorder" ShowTitleIcons="true" Width="200">
<FooterStyle CssClass="PartFooterStyle" />
<PartTitleStyle CssClass="PartTitleStyle" />
<ZoneTemplate>
<asp:Panel ID="Panel2" runat="server" Width="200" Height="200">
<asp:Button ID="Button1" runat="server" Text="Button" />
</asp:Panel>
</ZoneTemplate>
</asp:WebPartZone>
what is wrong with this ?
I have a webpart that I need to include in all pages.
I can include them one by one, by register them on all pages, but it won't be comftorbale to mange.
How do I do such?
I am using ASP.NET 2.0 and C#.
I have a html table, which has 2 rows and 2 columns.
I want to create web part zones for these 2 rows and 2 columns.
For each td, i want a web part zone, so that users can move data across the table.
How to create web part zones for the td?
HOw can i capture the second part of the url:For example:
http://www.yahoo.com/News/tezst/result.aspx
Should return:http://www.yahoo.com/News/
==================
http://www.yahoo.com/entertainment/default.aspx
Should return:
http://www.yahoo.com/entertainment/
Is it part of Asp.Net MVC 2.0. If not then does Asp.Net MVC 2.0 ship with in built GridView support?
View 3 RepliesI am sending email in asp.net using c#. I want to change the From part of the email to something meaningfull instead of the email address. For example instead of [URL] I want the user to see "[URL] support team".
[code]....
i create a web part in the code behind page and i didn't nkjow how to
initializes
[Code]....
I have an email page that consists of your typical master page/ content area setup. I have a master.css page for the masterpage and I'm linking in another css file for the content area on the page_load event. The page loads correctly but inside the textarea is the css code for everything after the textarea box. I've looked over the the source and can't find any unmatched css tags. Does anyone have a suggestion as to what might cause this?
View 7 Repliesi have a website that use globalization to several languages (VB Framework 4.0)
i need to get all languages exist in App_GlobalResourses directory because i don't know in future the website owner will add or remove some languages
for that i try to access in App_GlobalResources folder and i list the existing files in there now i have an array of fileInfo but i don't know how can i get some part of the file name
it return "General.resx", "General.en-US.resx", "General.fa.resx" and so one...
how to post back some part of page ?
View 3 RepliesI want to refresh only a single part of my page not the whole.
View 2 RepliesI need to get a list of categories from the reader and put them in and array that I can use in this part of an xml file.I can get the categories from the reader, but I have no idea how to get the categories in the array to use it in the xml file. old way, hard coding the categories
'Dim arrData(7, 3) As String
''Store Name of categories
'arrData(0, 1) = "First"
'arrData(2, 1) = "Third"
[code]...
I have custom user controls each with a SQLDatasource and a GridView in a DeclarativeCatalogPart. When I try to delete a control from a WebPartZone I get the following error.The SqlDataSource control 'SDSOnCall' does not have a naming container. Ensure that the control is added to the page before calling DataBind.
View 16 RepliesI have two web parts WebPart1 has a tree control1)WebPart2 gets displayed when a node in a tree is clicked.2)User can enter a text in web part 2 and click ok button then Web part1 has to be refreshed and the new node should get displayed In step 1 WebPart1 is Provider and WebPart2 is consumer.In Step2 its vice versa. Is it possible to swap this using the provider consumer?
View 1 RepliesHow we can go particular part of the page in ASP.NET & HTML
View 4 RepliesI have a web part in a page but the web part's footer does not appear
[Code]....
What can be wrong in this ?
i have on a page a text box and a button(button1) and another set of text boxes and another button(button2). i have put a requiredfieldvalidator on all the textboxes. what i want to do is that if i click button1, only the first textbox should validate and if i click button2 then only the set of textboxes should validate. right now whether i click button1 or 2 all of the textboxes will validate. i have tried to place the first textbox and button1 in an updatepanel and the set of textboxes and button2 in another updatepanel but still its not working.
View 2 RepliesWe would like to benchmark the asp.net c# app to see which part may be taking too long. How would you do this? We need to check:
1. The query on the server side.
2.The summarization that the app code is doing once it gets all the data.
3. Add in logging statements at various points in the code so we can see how long each step is taking
4. Time the sql query to see how long that takes.
How is the best way to make this benchmarking?