|
multi-filtering and sorting a gridview
I have a gridview that I have multiple filters which I have set up in the
header template of a gridview...
This gridview already has an object data source called: "odsTargetCases"
My following example of the one combobox as a filter is working with the
exception of two things:
1) If I select the default value '*All*' AFTER successfully filtering a
gridview - the gridview comes up b...
|
1 |
12/15/2008 8:51:02 PM |
|
Building your own SCADA Software -- Full .net/VC++ Source Codes
Add Diagrams and SCADA to your applications. E-XD++ Diagrammer brings
accurate and intuitive diagrams and dashboards to your c++ desktop
applications. It offers a comprehensive set of tools, components and
graphic objects for creating visualization, editing and monitoring
Windows applications, more with:
http://www.ucancode.net/index.htm
*** Sent via Developersdex http://www.developersdex....
|
1 |
12/4/2008 2:10:08 AM |
|
Control cannot be created at design time
I am building fairly complex control
and run into this problem.
Error creating control [value] cannot be set on property [Property Name]
If control dropped on the page it works fine property set and then page closed, then if page is reopened and any of the custom properties are set on
the page I am getting this error from designer.
So far I found two solutions
1. Keep page ...
|
1 |
12/3/2008 9:12:13 PM |
|
Custom container control
Hi,
I am trying build a custom control which will have one or more template
areas within. Although compilation is successfull, during runtime; some
controls within the template area becomes nothing (null).. First, some
panels were becoming nothing; when I made a second postback, they got their
designated "PANEL" value. But still some textboxes are becoming nothing.
What are the necess...
|
2 |
12/3/2008 12:51:30 PM |
|
building a repeating control with template definition
Hi
I've a requirement of creating repeating controls similar to the one
available in infopath form. The controls to repeat could be a
combination of dropdown and check box or a combination of textbox and
checkbox and so on. When I say insert item a new row should get added
with any of the above templates.
I would like to create a generic repeating control, where in I should be
able to s...
|
1 |
11/25/2008 9:01:02 PM |
|
how to ignore postback data in particular situations
Hi everybody,
Imagine the following scenario:
One System.Web.UI.UserControl (UC1) with 2 drop downs and one button
"Filter"
One Webform with (UC1) and a GridView, basically the UC1 provides the
options to the user to restrict (filter) the grid.
The user changes the drop downs and then uses the Filter button to
filter data (grid) that is the correct behavior.
Now imagine that the user ...
|
1 |
11/15/2008 4:28:31 AM |
|
overriding GridView.OnRowDeleting - can call registered event handlers
Hello, I have a custom GridView and it overrides onRowDeleting and doesn't
call base.OnRowDeleting because the person implementing had undesirable
effects. the problem is I now when clients of this control register their
own event handlers for RowDeleting, it is never raised.
I'm trying to add lines 1 - 5 to my overriden OnRowDeleting method but can't
because the key accessed in base.Ev...
|
13 |
11/11/2008 2:36:50 PM |
|
LoadControl problem for 3.5
The problem is we have to move from framework 2 to 3.5 version
and some code start give me an error.
//framework 2 (works correct)
LayoutParts_SessionWork pWork =
this.LoadControl("~/LayoutParts/SessionWork.ascx") as LayoutParts_SessionWork;
pWork get class and works fine, but in 3.5 version thee same code give me
an error because pWork is NULL.
I have tried other way of convertion ob...
|
1 |
10/24/2008 3:22:01 PM |
|
Non Default Properties
Dear All,
In Visual Foxpro you can filter Non-Default Properties, methods, events
is there a way to do this on Visual Basic.Net 2005 or 2008 ?
Thanks alot,
Kilo...
|
1 |
10/11/2008 4:58:27 AM |
|
dllhost flake here and there to 100% CPU utilization.
Hi
I having a bit of a problem on our Web server, we are facing this issue for
almost more then 5 years now, we have done lot of research on this many
google query and reples most of them refer to infinite look, open loop etc
etc in programming we have check everything no programming issue at all all
pages worksgreat... some time in months some time in week some time more
then 2-4 t...
|
1 |
10/6/2008 2:59:52 PM |
|
dllhost flake here and there to 100% CPU utilization.
Hi
I having a bit of a problem on our Web server, we are facing this issue for
almost more then 5 years now, we have done lot of research on this many
google query and reples most of them refer to infinite look, open loop etc
etc in programming we have check everything no programming issue at all all
pages worksgreat... some time in months some time in week some time more
then 2-4 tim...
|
1 |
10/6/2008 2:58:44 PM |
|
NamingContainer null during page lifecycle
I am declaratively settting value of custom control in aspx page:
<ctrl:MaskedEditTextBox ID="mskClient_FullPhone"
PropertyID="Client_FullPhone" runat="server" ReadOnly="true"
>929-302-2093</ctrl:MaskedEditTextBox>
This control has a Text property and in side its setter, i am calling ensure
childControls, which creates my child controls in which one of them tries to
access...
|
2 |
10/5/2008 10:22:39 AM |
|
How Capture windows2003 users login and logoff time.
I need help about capturing time when user logs on to win2003.
Is there any way for capturing this time using VB 6.0
Please Help.
...
|
2 |
6/30/2007 12:21:47 PM |
|
C# Web form designer [Open source]
Does anybody know of a good open source (C# technology) that can be
used to design HTML pages.
I know we can use Visual Studio or Winword or Frontpage but I am
looking for a tool that can be customized for us and and can be
distributed.
Any good third-party links is appreciated.
Thanks
Saravana
...
|
2 |
6/29/2007 6:52:34 PM |
|
GridView Inherting
I am inherting from the GridView and adding a property
ShowEditButton. When this is true a new column is added with an Edit
button. I override the CreateColumns event to do this.
What is the difference between, storing the property value in a private
local variable and ViewState?
In the design mode, I can change the property value and the display changes
automagically. This happens ...
|
6 |
6/29/2007 3:34:43 AM |
|
GridView get ODS DataObjectTypeName
I am creating a control which inherits from the GridView.
I want to have an event that adds a new row to the ODS before the GridView
binds.
I was thinking of doing this:
private void AttachDataSourceEvent()
{
ObjectDataSource ds = GetDataSource() as ObjectDataSource;
if (ds != null)
{
ds.Selected += new
ObjectDataSourceStatusEventHandler(this.OnObjectDataSo...
|
9 |
6/28/2007 10:25:14 AM |
|
CreateChildControl() fires First
i have develop a sharepoint web part using class library.i add
controls programatically.when i select a item in dropdownlist and save
it to the datase.it sved the first item of the dropdownlist,not the
selected item.as my experience this happen due to the inoder sequence
of CreateChildControl() fires.Can any one help to solve this materr?
...
|
4 |
6/26/2007 4:49:18 PM |
|
Diabetic Recipes and More...
Hi Cookers,
Welcome to our new website, cookersworld.com. We
have expanded the content links to ad Mr. Emeril
Lagasse's fine recipes along with recipes for diabetic's.
The website is full of great links from our partners. We
have links to free cookbooks and more. Please stop by
and support us. Visit all our links and choose the best
recipe for you or your family.
We look forward t...
|
1 |
6/24/2007 8:26:52 AM |
|
difference Inherits CompositeControl vs Inherits WebControl
Hi
i'm developing web server controls for my project.
When I use Inherits WebControl, the control can use the width of the
control, but when I use Inherits Compositecontrol the width of the control
stays=0 allthough I do see the control drawing with a certain width.
Is their a list of properties a usercontrol will inherit when using inherits
webcontrol?
thanx
ton
...
|
2 |
6/24/2007 7:49:04 AM |
|
UserControl... where is the clientID on the client side?
[ASP.Net 2.0, WAP, Atlas]
I have a custom usercontrol that looks something like this:
<%@ Control Language="vb" AutoEventWireup="false"
Codebehind="ItemPicker.ascx.vb" Inherits="myNS.ItemPicker" %>
<div runat=server id=divMain style="text-align:justify; overflow-x:hidden;">
<div id="divItemList" class="ItemPickerList" runat="server">
<asp:Repeater ID="rprItems" run...
|
2 |
6/22/2007 9:40:48 AM |
|
AJAX event cascading?
I have a web page where I search some information.
I tried to AJAX enable the page to avoid postbacks.
I tried to use 3 UpdatePanels: updateSearch, updateList and updateDetail.
In updateSearch I use several controls to decide what to search.
Some of the DropDownLists will have dynamic content based on other
DropDownLists, thats why I need to enclose this in one UpdatePanel.
In updateLis...
|
3 |
6/19/2007 1:04:05 PM |
|
Maintaining the look of dynamically added usercontrols
I have a page which I dynamically add several usercontrols (*.ascx files) to
using the following code:
Public Sub Refresh()
For Each section As DataRow In Me.GetSections().Rows
CType(Me.FindControl("admin" & CStr(section("buttontext")).Replace(" ",
"")), adminsection2).RefreshSection()
Next
End Sub
Protected Sub Page_Load(ByVal sender As Object, ByVal e As
System.EventA...
|
8 |
6/19/2007 5:04:28 AM |
|
Possible to validate between INamingContainers in 2.0?
I have a composite control that contains a texbox and comparevalidator
(and other stuff not applicable to this post). Right now, it does a
simple DataTypeCheck or any comparison to the ValueToCompare property.
I've exposed the ValueToCompare and the CompareOperator properties.
The control is for a date, so the Type property is permanently set as
Date.
I'd like to expose the ControlToCompar...
|
2 |
6/13/2007 5:53:06 PM |
|
access dynamically added controls
Dear All,
Im using ASP.NET 2.0 with C#.
In my aspx page, i have one HTML Table.
Using the javascript i add the rows dynamically.
1.What my problem is how can i access those controls.
When i click the submit button, i lose all those rows that were
added dynamically.
How can i persist those rows and how can i access the controls.
2.Also 'm using many checkboxes in cell2 of each r...
|
2 |
6/13/2007 5:04:05 PM |
|
Selected state not maintained on postback
Hi,
I tried to create a custom server control that displays some radio
buttons and it should postback the page on selecting the items. I
tried like below code, but on postback, the selected radio button
state is not maintained. Anyone could tell me what is missing?
public class WebCustomControl1 : RadioButtonList
{
protected override void Render(HtmlTextWriter output)
...
|
4 |
6/13/2007 4:59:35 PM |