To Modify Source And Add A Little Scriplet Inside It?
Apr 19, 2010
I m trying to modify a .aspx page which i think is precompiled.(Whenever i open any aspx file it contains following "This is a marker file generated by the precompilation tool, and should not be deleted!").Is there any chance that i can modify source and add a little scriplet inside it?
View 6 Replies
Similar Messages:
Oct 18, 2010
i had a requirement for dynamic sorting so i wanted to assign order by.. dynamically depending on what column is clicked for sorting
i tried to modify the sql data source command
in ds selecting event by using
e.command.CommandText=modifiedCommandHere; but it doesnt work as it always picks up selectCommand specified in aspx page
View 1 Replies
Feb 10, 2011
I have this question for a gridview that ai use for a shopping cart. On my first 4 collums is data from my database cart (the 4'th collumn contain the price), on the 5'th collumn is a dropdown list (having 1 to 30 values). what i want is when i change the value in dropdown list the 6'th collumn to be updated to the value of(dropdownlist value * price). on page_load i have this
GridView1.DataSource = clasa.my_chart_bike(Convert.ToInt16(Session["id"]));
GridView1.DataBind();
on GridView1_RowDataBound i have this
if (e.Row.RowType == DataControlRowType.DataRow)
{
string t=((DropDownList)e.Row.Cells[4].FindControl("DropDownList1")).SelectedValue;
e.Row.Cells[5].Text =Convert.ToString( Convert.ToInt16(t) * Convert.ToInt16(e.Row.Cells[12].Text));
}
GridView1.DataSource = clasa.my_chart_bike(Convert.ToInt16(Session["id"]));
View 4 Replies
Dec 8, 2010
I am having a button inside a datagrid and in the button content i have placed a image.I tried to change the souce of the image from datagrid list but the image is not binding. I used MVVM Model .
View 2 Replies
Nov 1, 2010
how to make my source code to display on one line instead of multiple in source view. The display drives me batty when I'm trying to find something and I would prefer to display across the page instead of multiple lines down the page.
View 2 Replies
Sep 6, 2010
asp.net open source Lead management system with source code.
View 9 Replies
Feb 15, 2010
I couldn't decide where would be the most apprioate. I looking for an online source control site, if such a thing exists? I've checked out codeplex and thats really for open source projects ? which this isn't. does anyone have a recommendations?
View 4 Replies
Apr 7, 2010
source of gridview details in page source.i am disabling and enabling in a server side and also i am using updatepanel too in the page.
View 4 Replies
Jun 18, 2010
Basically I want to take the following:And make it match the styling of the rest of the application.I am creating a custom error page in my C# based project and I want it to be able to show the same information that is displayed in the ASP.NET default error page. From fiddling with reflector I can see that this is generated through HttpException.GetHtmlErrorMessage() but when I try to use this in my exception it returns null.
View 3 Replies
Jan 6, 2011
I recently started using SSRS 2010 and I didnt come across this issue in 2005 or 2008 versions of reporting services.
I have a report that drills down to child report1 and then that drills down to child report 2 but clicking a field in the report.
When I click on the link on the first report to go to the second report. I get this error message
"A data source instance has no tbeen supplied for the data source ''reprort2dataset"
I am not sure how to handle this error.
All reports run fine stand alone, but when I try to link them up I get that error.
I have a report viewer running the reports in an aspx page.
View 1 Replies
Aug 4, 2010
Where and what am i missing?
this code produces some error:
DataSet ds = services.getOrdersReport(1, "", DateTime.Parse(System.DateTime.Now.Date.ToShortDateString()));
ReportDataSource datasource = new ReportDataSource("JMJ", ds.Tables[0]);
rv.LocalReport.DataSources.Clear();
rv.LocalReport.DataSources.Add(datasource);
rv.LocalReport.Refresh();
ERROR :
A data source instance has not been supplied for the data source 'dsOrders_tblOrdersReport'
'dsOrders_tblOrdersReport' -- name of the table designed in dataset.XSD
View 1 Replies
May 14, 2010
I am getting the following error while i bind the dataset dynamically in reportviewer(Asp .net 4.0) . I have binded the dataset using stroedprocedure.
Error:A data source instance has not been supplied for the data source 'DataSet1'.
View 3 Replies
Jan 5, 2010
I don't know it happen just to me or Others have the same situation too . All the time when i bind a DataControl to an ObjectDataSource in "Configure Data Source" wizard of ObjectDataSource,when i set parameter source as "Control" in "ControlId" DropdownList there are TWO Item of every control in the WebForm , while it make sense be one.
View 2 Replies
Jun 26, 2010
I am doing some research on themes in asp.net. (Just Learning) is this a practical use of my time? Should I just use css files and if someone wants to modify anything let them use the css to do it? Are themes a waste of my time? I really want to create my app but give the end user the ability to customize the look and feel without jumping through hoops. Can someone push me in the right direction with pros, cons etc
View 3 Replies
Mar 26, 2010
How can I change my map route so I can have another dir, and not just the controllers and actions.What I want is to have another directory before the controller so that way I can separate controller per "module"
routes.MapRoute(
"Default", // Route name
"{module}/{controller}/{action}/{id}", // URL with params
new { module = "module", controller = "controller", action = "Index", id = ""}
This is what I want, but the code doesn't work. What more do I need to change to change the MapRoute?
View 2 Replies
Jan 20, 2011
I've different buttons like this
<asp:Button ID="button1" runat="server" Text="single" title="single" EnableViewState="false" />
When this button is clicked I want that the text in a list like this changes
<asp:BulletedList ID="list1" runat="server" EnableViewState="false">
<asp:ListItem>Item1</asp:ListItem>
<asp:ListItem>Item2</asp:ListItem>
<asp:ListItem>Item3</asp:ListItem>
<asp:ListItem>Item4</asp:ListItem>
</asp:BulletedList>
How in C# can I select the first, the second or the third element of the list?
protected button_Click(object sender, EventArgs e)
{
list1. ...;
}
View 1 Replies
Jan 12, 2011
I'm trying to call a dataset, modify a value, and then put it back into a dataset.
I think this is possible but I'm doing something wrong
attached is an image of the table and the code
[Code]....
View 3 Replies
May 12, 2010
I know this is a common request, I've googled loads but found lots of complicated code for such a simple task.
My basic insert code is below, can someone tell me how/ where I can modify it to get the last ID?
[code]....
View 7 Replies
Apr 2, 2010
My application uses the default URL http://tempuri.org rather then using specific URL. In my C# code, how do I change the SoapAction? Is it in the ServiceContract? OperationContract? I'm not sure.
This is in the binding level.
View 1 Replies
Dec 23, 2010
I am trying to embed a visio doc in an aspx page using the following code
<OBJECT classid="CLSID:279D6C9A-652E-4833-BEFC-312CA8887857"
codebase="http://download.microsoft.com/download/4/5/2/452f8090-413f-408f-83c0-edd66db786ee/vviewer.exe" [code]...
i need to modify the value parameter SRC from code , how do i go about it ?
View 2 Replies
Oct 24, 2010
How can one modify DomainService code without the custom code being overwritten?
Is there a way to put the custom code in a seperate class file?
View 1 Replies
Feb 16, 2010
how to do routing. My problem basically relates to "logged in" and "logged out routes" and having both as "/".
i.e. I have home/index for logged out user which appears as "/" but this has got me confused as to how I can have home/home for logged in user and still have "/".
I keep getting 127.0.0.1/home/home
I could modify like 127.0.0.1/home - but I want it like "/". My confusion relates to the fact that the "/" [127.0.0.1/] is bound in the routes collection to home/index.
how I can modify the routes dictionary (which will be binded ONCE at the start) so that the "/" can be shared for logged and non-logged users ?
View 8 Replies
Feb 24, 2011
I want to hide or modify the url extension by default it is set to aspx. Can it be modified in asp.net
View 2 Replies
Feb 12, 2011
I have a C# web application (VS 2005).
I need to open an existing text file and add data to each row.
View 4 Replies
Oct 21, 2010
I wrote the following code to preserve the values of a dynamic array
but the 2nd time around I get the 'ReDim' can only change the rightmost dimension.
Here is the code ...how should I modify it? Initial lead_count value is 0
[Code]....
View 1 Replies