View Complete Post
I have an update panel with a set of 2 radio buttons, a label and an image button inside of it. There another set of 3 radio buttons that trigger the update panel. I got everything working but now the image button, label and set of 2 radio buttons inside the update panel show up twice when the radio button triggers are selected? Any ideas?
my tab control going crazy
i have this code
and the intable button is under the tab and not inside. why?
I have a button on a page with a Repeater and an ObjectDataSource. To give credit where credit is due, the Repeater's paging functionality is courtesy of ScottGu. (However, I'm using ASP.NET 4.0 and SQL Server 2008, as opposed to ASP.NET 2.0 and SQL Server 2005.)
Anyway, in the button's click event, I need to access the Text property of a Label that's inside the Repeater because it's used as an input parameter in a stored procedure. I'm getting a NullReferenceException when trying to access the Label's Text property. I have researched this error and have tried a few different solutions (involving FindControl and the Repeater's ItemDataBound event), but I haven't been able to get it to work. Any suggestions, in VB or C#, would be greatly appreciated. The code is below.
<asp:Repeater ID="rptText" runat="server" DataSourceID="tbsDataSource"> <HeaderTemplate> <table width="100%" cellspacing="1"> </HeaderTemplate> <ItemTemplate> <%-- some rows removed for brevity --%> <tr> <td><asp:Label
Hi i am saving color as a string in database
i have a gridview control
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" OnRowUpdating="Update_Schedule"
OnRowDeleting="Delete_Schedule" OnPageIndexChanging="OnPaging" OnRowEditing="Edit_Schedule"
<asp:CheckBox ID="Todo" runat="server" AutoPostBack="true" Height="23px" OnCheckedChanged="CheckedChanged" />
<asp:HiddenField ID="hdn_ScheduleID" runat="server" Value='<%#Eval("ID") %>' />
<asp:Label Text='<%# Eval("Title") %>' runat="server" ID="lbl1"></asp:Label>
How to Read value of Label which is inside the ListView?
Hi, I am developing a web site to display some data that is inside a database.
To do this I've created an ASPX web page that opens a connection to a database and retrieves the desired data. After that it populates an asp:table object dynamically.
The problem is that some of the fields that are retrieved from the database are too large to be displayed on the web page, so I decided to make a popup that would be able to display just the desired field.
To do this I've added a button to the asp:table so that when the user clicks it the popup would appear with the contents of the field. However what is happening is that when the user clicks on the button, the page just gets reloaded and the Click event handler is never called.
Below is the code in which I add the button to a TableCell, and the TableCell to the TableRow collection:
// Coluna Mensagem Formatada.
celula = new TableCell();
celula.HorizontalAlign = HorizontalAlign.Center;
Button button = new Button();
button.Text = "...";
button.Click += popupHandler;
Please note that the popupHandler is a delegate to the function below. I am using it as a the Click event handler for testing purposes.
protected void abrirPopup(object sender, Even
I am trying to show a 3d shape inside another one. I already set the opacity of DiffuseMaterial.Brush for outside shape as 0.1, but still can not see the inside shape through the outside one. Here is my codes, anything wrong?
<Viewport3D x:Name="Viewport3D" ClipToBounds="false" Width="400" Height="500" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:c="http://schemas.openxmlformats.org/markup-compatibility/2006" c:Ignorable="d" xmlns:d="http://schemas.microsoft.com/expression/blend/2008">
<MaterialGroup x:Key="MaterialMR1" >
<SolidColorBrush Color="#FFFFFF" Opacity="0.1"/>
Here i am using dropdown that will retrive from database when i will select an item from dropdownlist then item rate display on the selection of dropdown item name.
how will do this???
I have been trying to create a Browser Enabled form to be used as a Sales Order form, the form will work in the following way.
It will pull in info from a sharepoint list with Customer Codes, it will pull in info from another sharepoint list with customer contact information which will be filtered based on which customer is selected.
There will then be a repeating table to place the order items. The repeating table has 8 columns, 6 of which are lookups against 1 sharepoint list (all the columns are in the same list).
The sharepoint lsit data looks something similar to this:
Item Type Item Provider Product Relation Product Description Delivery Team CostService Us &
Hello, I Have created a Wiki inside a Sharepoint 2007 site and have created five pages inside this Wiki. Now I am trying to use a template but there is nowhere that I can import a template. Also, when I attempt to create a dynamic table on one
of my Wiki pages, the dialog box which comes up only asks me for the number of columns and rows. The 'SharePoint How To' book that I am using as an instruction guide is telling me that a dialog box should come up with several parameters, including number
of columns, rows, height, depth and formatting - I'm not getting this dialog box.
So, I'm wondering if someone can tell me why:
(a) I can't get a dynamic table into the site where users can add rows and columns.
(b) I can't import a template into the Wiki so we can use a solution that works.
(c) My functionality is restricted. Do I need to be using SharePoint Designer to get this level of functionality?
I'd really appreciate any references which would help me solve this problem.
Thanks for your help.
I have a main repeating table with columns category and question/category. Under question/category column I have a nested repeating table which has columns question and score.
Here I need to calculate the total score per catgory in a text box , so that I can promote the value to form library.
Cat 1 &n