Hi, I have a custom Panel for laying out text. There is a DependancyProperty called "Text" and when that value changes, this piece of code runs:
if( !string.IsNullOrEmpty(Text))
{
Children.Clear();
foreach (char ch in Text)
{
TextBlock textBlock = new TextBlock();
textBlock.Text = ch.ToString();
text...
Hi All,
I am using ajax colllapsible panel extender in my project. So in one of the Price Range function panel i have 2 text boxes and one asp button that will handle the function of price range. Well i'm trying to set button as default button inside that asp panel but it does not work. I tried my page in firefox, IE & chrome also. It j...
I want to open a PDF file after clicking a button within gridview, which is inside an updatepanel.
Using Response.Write() etc. requires full postaback to send the HTTP headers for the file.
I dont want to use a postback trigger on my gridview, so after going through some forums I decided to use javascript and the hidden iframe trick t...
Hello,
I have the following code that shows a panel. It displays a button on the panel but as soon as I assign a Click Handler to it the app crashes!
It crashes on the line .setOnClickListener
Button button = (Button)findViewById(R.id.buttonclick);
button.setOnClickListener(new OnClickListener() {
@Override
...
I'm not sure what it's called in the land of WinForms, but in web development terms, I'm looking for a frame type element that can be added to a winform.
I want a panel that is anchored top,bottom,left,right but if the form the panel is resized to a smaller size than the elements in the panel, scroll bars will appear around the panel a...
Hi,
is there a way to find out which layout type is used for a container.
For instance. When I use the following code to get a container how can I determine the layout type.
comp = Ext.getCmp('<name>');
comp.getLayout();
I only get a layout object but there is no field from the object which tells me the layout type
...
Hi,
I'm about to create a java GUI app using SWT. A rough mockup:
The dark box is a button, and i want that clicking it should slide out the sliding panel from under the sidebar.
How do I do that in SWT?
Thanks,
Harhsath
...
Hy.. I have a JPanel, and in this contentPanel I added some other custom panels and give them locations etc. So now I added a JScrollPane to the contentPanel and always when I scroll down it clears my contentPanel, but the panels are still there but not visible...
How can I make them visible again?
That's my code to add the Panel into ...
hi..
I want to backup my database from the plesk panel.. I followed the steps given in the help tab in the plesk panel.. it too took a backup and allowed to download it.. but the downloaded file contains 0 bytes.. Then how can I take backup of my database from that panel???
Can anyone help me in this please...???
thank you..
...
Hi there
I have a screen which is divided by a few splitcontainers. One of them contains rectangles which user components I made, these "rectangles" represent hospital beds. What I wanted to do is give users the option to toggle between this "user component view" and a "datagrid view".
So I created a panel pnlPatients which I give the ...
I want something like that:
<my:MyFancyPanel>
<asp:Label Text="Hello">
</my:MyFancyPanel>
I tried but it seems my usercontrol doesn't accept any content.
...
A Server based control is not good solution for me, since my panel should by default always contain a asp checkbox which will allow the user to hide and show the panels content.
I created my Panel as a templated user control but now I have the problem that I cannot declare variables in it.
[ParseChildren(true)]
public partial c...
I Trying to switch Panel.TabStop property totrue but it does not affect anything.
How to enable TabStop in a Panel?
...
Hi all,
I've created a custom panel (inherited from Panel) that override OnPaint method to paint the inner rectangle with LinearGradientBrush.
public void PaintPanel()
{
// Re-calculate the
CalculatePanelHeight();
Graphics _g = this.CreateGraphics();
Point _startPoint = new Point(0, m_TopAreaHeight)...
Hi, I am making a collapsible ContentControl.
Everything works fine until I try to embed a collapsible ContentControl as content inside the ContentPresenter of the same type collapsible control. The collapsing and expanding is done using animations. But when the content of the collapsible control changes in size it will not update its pa...
Hi Guys,
I have a very simple radial panel with a few dependency properties like so:
public static readonly DependencyProperty RadiusProperty = DependencyProperty.Register("Radius", typeof(double), typeof(CircularPanel), new PropertyMetadata(50.0, new PropertyChangedCallback(RadiusChanged)));
private static void RadiusChanged(Dependen...
I have a Panel with property, Visible set to False
<asp:Panel ID="pnlUpload" runat="server" Visible="False" />
and i try to make it visible using javascript as code below
document.getElementById('<%= Panel1.ClientID %>').style.visibility = 'visible';
but it's not working, any idea guys?
...
Hello everyone,
I'm trying to get the values of dynamically generated FileUpload controls that I add to a Panel:
<asp:Panel ID="pFileControls" runat="server">
</asp:Panel>
I create the controls during a loop through a record set:
foreach(DataRow dr in ds.Tables[0].Rows)
{
FileUpload fu = new FileUpload();
fu.ID = dr["SomeID"...
I need to show a large image on a winform that is larger than the winform and upon loading that image I need to see the middle part of the image. The first part is easy. I created a scrollable PictureBox ... which I implemented with a regular PictureBox control (set to AutoSize) in a Panel control (set to AutoScroll). To centre the im...
Hi All,
What would be the mechanism behind twitter iPad application? I feel its having split viewcontroller, viewcontrollers with animation and gesture controls, or there may be scrollviews for endless scrolling.
How can I develop same UI for my application?
Thanks
...