In the VS 2005 Solution Explorer, you can nest files such as page.aspx.cs underneath page.aspx. Is there a way to add other files there? For example, I'd like to include a page.aspx.js file in there too, so that the nesting would have page.aspx at the top, then page.aspx.cs and page.aspx.js underneath it.
Is that possible in VS 2005? How could I set that up?
while i am watching what is file loaded in my page at runtime, i found that multiple files with the same name "ScripResource.axd" have been loaded but with different "d" querystring, how to know the control related to that resource ?
I want to display 2 levels of listview, where outer listview has a datapager with 1 inner listview per page. The code is:
[Code]....
Then I bound outer listview with data in page_load(), which will invoke ExerciseBound(). It work fine for 1st page. The code is:
[Code]....
When I click on 2nd page, it will invoke ChangeExercise(). The code is:
[Code]....
Suppose it will invoke ExerciseBound() again and display 2nd listviewitem, but it fails to invoke ExerciseBound(). I change ChangeExercise() to
[Code]....
But PagePropertiesChangingEventArgs does not contain ListViewDataItem. Any thought? Is there a way to save ListViewDataItem in ExerciseBound() so that it can be accessed in ChangeExercise()? Or is there other way to access ListViewDataItem from ListView class directly?
How to I put this form on my page? The problem is I have a master page which wraps the content pages content in the ASP.net form, I can't nest the forms.
I'm using ASP.NET/VB and am wanting to nest a grid inside of another grid. I've seen them but am unsure how to make them work. I have a Orders table with an OrderID and it is linked to a Orders_Detail table. I would like to be able to select the order and see the details. I've done it differently with 2 grids outside of each other, but this isn't the solution I need.
All I would like to be able to do is include one user control within another! Is this possible? I have spent the last hour searching the internet and it seems that I can't find a single thing.
In classic ASP it would be something like: <!--#include file="EditProject.ascx"-->
I tried this but no luck!
Parser Error Message:
There can be only one 'control' directive.
Source Error:
[Code]....
Line 1: <%@ Control Language="VB" AutoEventWireup="false" CodeFile="EditProject.ascx.vb"Line 2: Inherits="Controls_WebUserControl" %>Line 3: <form runat="server">
how do i change the layout of this template? I want to change the text and change the position of the textboxes.I know that I can customize it by calling individual fields and write hard-coding, but I am curious if there is a way to use EditorForModel() in easier.
I've written code that can make a phone dial a number from a function call, that's done and dusted. What I would like to achieve is adding a Dial button to each phone number field on the forms in Dynamics CRM. Eventually this could also create a new phone record fill in the basic details and show it to the user to enter notes and an outcome for the phone call, and perhaps some other workflow bits to schedule the next call.
Can I put a custom control on a standard form in place of the standard control. I'm assuming it would have to be an IFrame to an asp.net page, that pulls in the record id, and the field name, looks up the number to show in a text box, and passes the number to the DialNumber function. I assume its not going to be that easy... Has anyone tried this before, what's the process, what are the gotchas?
I have this requirement to display site sub menu items in horizontal direction instead of vertical.
Home | Site1 | Site2 Page1 | Page2 | Page3
Is there any attribute avaliable in Sharepoint:ASPMenu to achieve this. We dont intend to write code behind for this. how to achieve this thru Sharepoint desinger.
how do i go about modifying the display of the validationSummary control in asp.net i want to modify it completely not just modify the color of the text etc.has anyone got any sample code etc ?
Is it possible to allow a user to customize sections of our website to match their look and feel? For example, to modify logos and CSS, possibly pointing back to their site for the actual content. Ideally I would also like a third-party (ASP.NET) tool to manage this, rather than coding a hack myself.
Edited: I want a solution where a customer can just use a menu to modify the attributes they want, so that there is no need for me to interact with the customer at all.
I've been searching high and low trying to find out how to customize the AJAX Editor. I can create a custom aspx page and add the methods FillTopToolbar() and FillBottomToolbar(), but these don't seem to do a lot. In fact, if I leave the bottom one blank,I still get all three buttons in the bottom toolbar (even if I just add one or two of the buttons in the method as in some samples I've seen, I still get all three). I'd also like an image button, but everything keeps directing me to some OBout site, which, for all of its documentation, tells me absolutely nothing, except maybe that I have to buy their control. (I noticed their control has twice as many buttons on it.
I have usercontrol called as 'DateControl1' in which i have textbox and a calenderextender(ajax).I have written a property for my usercontrol as follows: public string DateFormat
{ get { return dateformat; } set { dateformat = value; } }
when i assign the format in my cs file as DateControl1.DateFormat = "dd-mm-yyyy", then this dateformat must be assigned to the built-in property of Calenderextender.Can anyone please tell how to do this in c# asp.net?
I have a page that contains information retrived from the database. It's a simple page. Inside the page I have in left side a panel with controls that will filter the result from the database; on the top I have the sumary of the information retrived from the database and the middle I have the data (it's a htmltable created dinamically). As I said, very simple.
The problem is that this page have to be customized per client. for example:
The client 1 have a logo (image 500x50), have a fotter with image (500x50).
The client 2 have only a logo (image 800x100) and wants that appears on the botton of left side, some information about stock market.
The client 3 have a oval logo and wants a background image with the colors of the company.
As you see, I have a core (the data from database + controls to filter) and all the pages have to be customized.
My question is:
How can I accomplish this task. Do I create per each client a specif XSLT to handle the HTML? Do I create per each client a customized Page (each page inside a specific directory)? Is there a way to accomplish this task using only one page even with specific layouts?
I need to modify the open-source FCKeditor (not CKeditor) to allow users to select multiple files and upload them in one go (as opposed to selecting them one at a time).
I've found a way to provide the functionality - there are ready made components that can be used.
But how do I add custom buttons with custom functionality in FCKeditor.
As my app gets deployed on diff servers so I have to display the Top banner on the error page depending upon which server it is on.Can I customize the customerror page?
I have more problem in costomize membership provider, i did download the code in c# from videos tutorial, that code have Membership provider class. but i am unable to use that class. how i will use it.