Forms Data Controls :: Costumed Control Is Not Working?
Feb 20, 2010
I've deployed my web application to a virtual directory 'C:GAT' using the platform Windows XP SP2 + IIS 5.1
I have a class MyGridView extended from GridView location in the namespace GAT, in the forlder App_Code.
This error message is coming when I try to open my pages
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS0246: The type or namespace name 'GAT' could not be found (are you missing a using directive or an assembly reference?)
Source Error:
[Code]....
Exactly the same application is running properly on another computer which it has windows 2003
View 1 Replies
Similar Messages:
Aug 17, 2010
how can i use multiview contriol.if possible give me some links for videos.
View 2 Replies
Dec 2, 2010
I started to work with this control and I find it better to code it my self instead of using the wizard option that comes as a standard. Can I pass the values directly to the Query in my SqlDataSource when I update a row? Let me show you the code:
<asp:SqlDataSource ID="SqlDataSource" Runat="server" SelectCommand="SELECT [catCodigo], [catDescripcion], [catSite] FROM [Categories]"
View 4 Replies
Jan 25, 2010
all i am using Datapager control with ListView control in my application.where i bind my list view in page_prerender event. my problem is that Datapager control is showing the page records but when i click on the next page ( i.e. if i am on page 1 then clicked on page 2) it will not responding.
i am using my list view in update panel.is the problem with the update panel?
previously when i binded my Listview on pageload it work's fine.
"Actually i got the problem but i don't know the solution"
problem is that i am using mootools.js files when i disable these file my code is working fine but when ever i use mootools.js files with AJAX it gives me error.and some code is not working properly in my application....
View 1 Replies
Oct 25, 2010
I don't understand why my Findcontrol on a selected row is not working. The only thing I can figure is because I put the Select button in an "edit row"???
I have a Gridview in Edit mode with a select button. I want the select button to take one of the values of one of the column, do an SQL lookup on that and then display the details in a DataList.
[Code]....
I get Object Reference not set to an instance of an object for the MyItem.Text.ToString
View 6 Replies
Aug 5, 2010
I have a ListView control that pulls a phone number from a db table. I'd like to format the phone number in the presentation layer to look like (###) ###-####.
The code line currently looks like this. The page displays the phone# but unformatted, i.e. 9999999999.
[Code]....
Based on other posts I've looked at in this forum, I've also tried:
<li>Phone: <%# String.Format("{0:(###) ###-####}", Databinder.Eval (Container.DataItem("Phone"))) %> with no success. In fact, this particular line throws an exception in my application (Input string not in the correct format).
The datatype I'm using in SQL is varchar(15)
The MSDN documentation for the String.Format method hasn't been very helpful thus far.
View 20 Replies
Apr 16, 2010
I have used CKEditor in Insert item template and Edit Item Template in List view, for this i have used a textbox
<asp:TextBox
ID="txtComment"
runat="server"
TextMode="MultiLine"
[Code]....
View 8 Replies
Oct 21, 2010
I have formview , there is save linkbutton & upload control, same for insert template & edititem template. both save butons have name 'LnkSave'. without update panel it is working. but with panel not. i used trigger for control but it gives error like ' already definition for LnkSave button' . i changed name of save button in edit item template, yet it's not working.
View 3 Replies
Feb 17, 2011
I would like to rotate the text on the Microsoft Chart control for the X Axiz, however it is not working. My code is as follows:
[Code]....
View 1 Replies
Apr 26, 2010
I want to export the grid data to excel then write the following code but the following lines of code are working at firefox3 but not at ie8(no response).
System.Web.HttpContext.Current.Response.Clear();
System.Web.HttpContext.Current.Response.AddHeader("Content-disposition", "attachment;filename=ProjectTimeSheet.xls");
System.Web.HttpContext.Current.Response.ContentType = "application/vnd.ms-excel";
string excelFile = "";
excelFile = ConvertToExcel(PrepareGridViewForExport()); //generate formated table for excel
System.Web.HttpContext.Current.Response.Write(excelFile);
System.Web.HttpContext.Current.Response.End();
View 4 Replies
Nov 23, 2010
have a CustomValidator that I am trying to use. I have a couple Validation groups so I set those 2 different groups up in my case. The CutomValidator is validating the field when I click the button and it puts out the error message however its letting the button event insert the data.
[Code]....
View 3 Replies
Mar 9, 2010
i m facing a issue in my code i m calling a user control which is in master page, and in row databound i m calling it and it is working fine but on select index change of checkbox it is not working
protected void chkIntClient_SelectedIndexChanged(object sender, EventArgs e)
{
UserControls_AlwaysVisible uc = this.Page.Master.FindControl("Alwaysvisible") as UserControls_AlwaysVisible;
uc.Visible = true;
ArrayList raters = new ArrayList();
CheckBox chkselproducer;
[code]...
View 7 Replies
Feb 21, 2011
I have a login control that is working beautifully on my localhost, but not working on the server. It validates my username & password - and gives me an error if I enter an invalid username/password. However, if I enter the correct username/password, the page refreshes, but does not redirect me to the "ReturnUrl" that I see in the URL. I've seen posts on this, but nothing that I tried worked. I've tried setting the 'MembershipProvider'attribute of the login control. I don't want to set the DestinationUrl...I want it to take what is in the ReturnUrl in the querystring. I don't think it's a web.config issue cuz it works on localhost??
View 3 Replies
Aug 16, 2010
I have a datagrid view, in that I have a templete column ,inside that I have Image control and label control.
Based on the Data from one column in database, i have to show Label and Image control,in template column.
How can i do that?
I am using ASP.net 2005 and dev language is C#.
View 4 Replies
Jan 31, 2011
Two text boxes on a formview need to be prefilled with data (coming from session variables) on page load. The formview is in Insert mode by default. Is that the reason why it shows blank fields...
How do I get two fields filled in with data on page load.. the user will enter the rest of the fields and Click on Insert.
[Code]....
I put break points and saw that the data was coming in as expected...but when the page loads with formview, the text boxes do not show any data.
View 2 Replies
Mar 3, 2011
In my scenerio, i've a dropdownlistbox by which i want to filter, a textbox for the text to filter and two textbox for specifying from and to date.
A gridview control for displaying the filtered data and a sqldatasource control and a commandbutton called search.
The following code is used to filter the data in database and it works properly. But when i click on edit in gridview, the gridview displays no records and again when i click on search button the data is displayed on the gridview displayed with the selected row in editmode.
protected void btnSearch_Click(object sender, EventArgs e)
{
string query;[code]....
View 8 Replies
Feb 15, 2010
the page can be seen here [URL]
the client side validation is working for the adding date and time, but there is no validation firing for the count and room fields, I think i have coded them all the same, see sample for time and room below, maybe somebody see's something i missed? the validation group fires when the add button is clicked. also if possible I would like to get validation messages to appear in a validationsummary control that I already have coded and that is working when using the edit/update the rows presented with existing data.
[code]....
View 4 Replies
Oct 10, 2010
So I am using EW + Access database to create a page.
This page contains two controls. First control is Dropdownlist which databinds with second control Listview.
This listview has paging on becuse of multiple pages. If I don't use QueryStringField paging works but if I use QueryStringField paging doesn't work and it goes back to first option of Dropdownlist.
View 17 Replies
Jun 18, 2010
while i was using flash movie on my application nobody was able to watch it . However I know the reason that is flash plugin should be installed on client side. So here i want to deploy a msg or utility to install a flash plugin as:
there should be a button having text install flash plugin now and on clicking it setup should execute on client side so that it will run setup and every body will be able to watch it.
View 3 Replies
May 7, 2015
After applying URL Routing, Ajax controls stopped working..
void Application_Start(object sender, EventArgs e)
{
RegisterRoute(RouteTable.Routes);
}
public void RegisterRoute(RouteCollection rc)
[Code].....
View 1 Replies
Sep 15, 2012
Code is too good. but its working only on local host.
When I upload my files on server,it didn't show captcha image...
View 1 Replies
Mar 16, 2010
I have a gridview within an updatepanel which allows paging and has a linkbutton that when clicked shows a modalpopup for editing records. This works fine in IE, Firefox, and Opera but I do not get a postback in Chrome or Safari?? I have other linkbuttons on the page that are within updatepanels but are not within gridviews that are working fine. I have scowered the web but cannot find a solution.
[code]....
View 6 Replies
Jun 1, 2010
I am using a detailsview to update a SQL database. When I click the "Update" button, my application does not update the table and I do not get an error.
Here is my ASP Code:
[Code]....
View 2 Replies
Sep 14, 2010
after refreshing only scrollbar are working.Following code I write in one page and call this page in master page
<asp:Panel ID="Pan1" Height="80px" Width="250px"
BackColor="#8FBC8F" ScrollBars="Auto" runat="server">
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="100%">
[code]...
View 3 Replies
Aug 16, 2010
If
TypeOf (e.Row)
Is GridView.GridViewHeaderRow
Then
Dim row
As GridView.GridViewHeaderRow = e.RowFor
Each cell
As GridView.GridViewHeaderCell
In row.CellsDim texts()
[Code]....
View 2 Replies