Custom Server Controls :: Rounded Corner Template User Control?
Dec 20, 2010I have created rounded template user control. The need is what ever we add in the user control should appear appear.
[Code]....
I have created rounded template user control. The need is what ever we add in the user control should appear appear.
[Code]....
I have created the user control and i am showing it dynamically on the page load event. There will be about 10-15 instance of that user control.
How can i use the ajax rounded control with all the instances of the user control?
In the user control, there is one Div and inside the div there is one place holder which has got few text boxes and label controls.
I need to develop control (template or user) which must have subtags with some items.
For example :
<SomeControl runat="server" id="scTest">
<column1>TestColumn1</column1>
<column1>TestColumn1</column1>
<column1>TestColumn1</column1>
</SomeControl>
This control may contain some other web server controls such as GridView.I need explanation of experienced developers, how to do that - take me to the right way
I want to use Rounded Corner Button in my asp.net application. Do we have anything in ASP.NET 3.5 which helps us to make a rounded corner button ?
View 5 RepliesI have created my own login control (for a few reasons) and would like to surround the textboxes and label controls with a rounded corner box. How do I surround the controls with a box and then how do I make its corners rounded? Can I then create a background-color within the box? I have the AJAX toolkit installed and do know how to add extenders but I am kind of stuck on surrounding the controls.
View 3 RepliesI want to create rounded corner webparts in my webpage using .
View 3 RepliesI have a requirement by which I need to have something like below as the background of my asp.net menu item background.
NOTE: The menu is populated by sitemapdatasource which is dynamic depending on querystring.
I was doing some googling up and found that I can apply JQuery's rounded corner functionality along with asp.net menu item.
I have a datalist which contains only the image button.I want to add rouned corner to this image.So i have used rounded corner extender for image button.But still no rounded corner,but there was no bug.
View 5 RepliesI am developing one application in SSRS. I want to show my report in the form of rounded corner. to create the rounded corner in the report?
View 1 RepliesI have a custom control which inherit from the Table class and in the constructor, it takes a an integer as an argument. There is no empty constructor.
Is there a way for the user to set that variable in the properties window after they drag the control onto a form.
I know some .NET controls, you can set the source for the parameter to different things like another control's property, QueryString using just the properties window.
Right now, I have to create the control dynamically. I read the query string and then created the object.
Header controls like create ,delete are created by using templated user controls (ITemplate) .
The controls are working in all pages except the last page when paging is enabled in grid view.
I have created a user control and am ready to convert it into a custom control. I am trying to follow:
[URL] the steps mentioned in the link.
I am not seeing Build / Publish Web Site option.
I am using VS 2008. I only see Publish User Control but it doesn't give all the settings mentioned below. When I do publish user control, it just copies the ascx file to the desired location. how can I convert the user control to custom control.
I'm new to all of this, so go easy on me. This should be an easy one. I have created a custom SmartContentBlock user control for a CMS.The control works, but only if I invoke the Fill() function in the Page_init event in the codebehind of the ASPX page. My goal is to modify the class file so that the Fill() in the codebehind is no longer neccesary. So, for reference, here's the gist of the current situtation.Controls.cs
[Code]....
ASPX Page
[Code]....
I have a web user control that represents a simple message box. It is used to display simple messages like "Item has been deleted", or "The item was saved successfully".
On the other hand, I have another web user control that represents the item in the form of an editable form (I made this a user control because this is used in two different pages). I want to embed an instance of the message box user control inside the editable form. I am writing this right after the @Control directive:
[Code]....
Instead of using @Register directives, I register the user controls in web.config and so far this has worked just fine.
With the above markup, the project compiles, but whenever I try to navigate to a page that contains this construct, I get an HttpParseException exception. Furthermore, Visual Studio states that the tack w7rc9:MessageBox doesn't represent a known control.
What am I doing wrong?
I have 3 pages in each page there is a portion of page where it is common in all these three pages.Thought of making the common stuff as a separate control either User control/Custom control.Any suggestions on which one should i use custom/user control
View 2 RepliesI am trying to implement "rounded" corner for my pop up message box. I have the rounded corner working for standard panels but not for pop ups.
Code behind:
[code].....
I have a user control (ascx file) that contains an interface for users to change the data retrieved from the db. So, I am displaying data and most of this data can be edited by the user. When the user enters text into a textbox, and clicks "Save Changes", the value they typed in is lost and not persisted to the database. I realize now this is because the SaveChanges button does a postback, and the user control gets reloaded with its original valuesbefore the code within my SaveChanges button gets executed. I'm not sure if there are properties I need to set to save the input data, or if I need to write my own code to do it. What is the generally accepted method to do this? (Also, all of the controls in the ascx file are wrapped in an Update Panel.)
View 8 RepliesI am trying to use Rounded Corner buttons in my ASP.NET website using AjaxControlToolkit's RoundedCornerExtender. When I use this on a Buton control, I get an error saying "htmlfile: Unexpected call to method or property access" to which I can Break/continue.
When I run the sites, it gives me an error "Unexpected call to mathod or property access".Here's the screenshot:
http://img29.imageshack.us/img29/7051/roundedcornersp.png
Using VS2005, VB code behind, Using Customer Pager Template, in a custom GridView...
View 6 RepliesI want to create user control that can be added on other site.
here is the scenario.In my web site reservations can be done for restaurants. I want to provide user interface for reservation in restaurant owner's web site. When user goes to restauarants site he can reserve the slot through my site.
m trying to add custom control to my page dynamically.by this code,and it works fine.
[code]...
i have a user control page and only have , which i have <div> and a gridview inside <div>how can i add a scroll bar in user control page?the code like below in aspx:<@regrister url="user control page" tagname="xx" tagprefix="aa"><div><aa: id="xx"></div> <--to embed user control page.
View 3 RepliesI'm attempting to create a simple menu user control just as outlined here.
The attached code results in an "Object reference not set to an instance of an object" error, but I can't figure out why.
<%@ Master Language="VB" CodeFile="MySite.master.vb" Inherits="MySite" %>
<%@ Register src="Controls/Menu.ascx" tagname="Menu" tagprefix="my" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">......
i'm developing a webusercontrol, that has very properties, properties are of custome types (not primitive), so i want user can edit properties in grid property. i want something like gridview here is a portion of my code:
[Code]....
[Code]....
I am using two user controls in my page. The controls are loaded dynamically one at a time. I'm just referencing the user controls in the page and loading them dynamically using 'LoadControl()'. Everything is working fine till now and the user can switch the controls one another.
Here the issue I found is eventhough the controls are working as expected and the data is visible, the rendered HTML contains only the first loaded user control's markup.
Even if the current control displayed is 'usercontrol2', the source shows 'usercontrol1' markup. How can I force the page to render 'usercontrol2' markup and remove 'usercontrol1' markup while loading'usercontrol2'?