I'm creating a website of 5 pages using c# (asp.net).
How do i link 2 pages, ie., on click of a button on first page should take me to second page.
View Complete Post
Hello everyone i need help. Ive been having this problem for almost 3 days now. dropdown list won't populate from database
Below is the code i am using:
<%@ Page Title="" Language="VB" MasterPageFile="~/Site.master" AutoEventWireup="false" CodeFile="PhotoAlbum.aspx.vb" Inherits="PhotoAlbum" %>
<asp:SqlDataSource ID="categoriesDataSource" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>" SelectCommand="SELECT [CategoryID], [Name] FROM [Categories] WHERE ([UserId] = @UserId) ORDER BY [Name]"> <SelectParameters> <asp:QueryStringParameter Name="UserId" QueryStringField="ID"/> </SelectParameters> <
I have a checkboxlist (cblTeamMates) with a sqldatasource (sqlTeamMates) that has 3 columns (ID, FullName and Status ). The datavaluefield and datatextfield for cblTeamMates is "FullName" and the 2 status values possible are "Available" and "Absent". How do I go about, in the page load event, checking all the names (FullName) whose Status is "Available"?
I have a gridview with a RadioButtonList I need to populate. It is as such"
<asp:GridView ID="GridView1" AllowPaging="true" PageSize="7" runat="server" DataSourceID="mainDS"
DataKeyNames="id" AutoGenerateColumns="False" Width="100%" RowStyle-BackColor="LightGray"
AutoGenerateEditButton="false" AutoGenerateSelectButton="false" AlternatingRowStyle-BackColor="white"
HeaderStyle-BackColor="Black" HeaderStyle-ForeColor="white" ForeColor="black"
PagerStyle-ForeColor="#1A7A5E" EmptyDataText="No Data To Display">
<asp:BoundField HeaderText="Question" DataField="number" ItemStyle-Wrap="false" ItemStyle-VerticalAlign="Top" />
<asp:BoundField DataField="question" ItemStyle-Wrap="false" ItemStyle-VerticalAlign="Top" />
<asp:Label ID="Qid" Text='<%# Eval("number") %>' runat="server" Visible="false" />
<asp:RadioButtonList ID="answer" runat="server"
my question is i'm try to do auto complete function to calculate the total amount acording to some rate..i will put the code and you may understand what i try to explain
<table><tr><td>4. Enter Amount in <asp:DropDownList ID="amountddl" runat="server" AutoPostBack="True" OnSelectedIndexChanged="amountddl_SelectedIndexChanged">
<asp:ListItem Selected="True">SOURCE AMOUNT</asp:ListItem>
</td></tr> 5. <tr><td>Destination Amount (<asp:Label ID="swiftcodelbl1" runat="server"&
Is there a way to make a modal popup panel active on page load so that the user can't do anything until they deal with the popup dialog?
I developed a page where i m using jquery treeview plugin to generate tree. It worked fine on FF, IE8 with out ajax.
But when my page loads thro' ajax call in IE8, it is not collapsing or expanding tree.
Thanks in advance.
I have used the above method to configure my crystal report ...
Its working fine , But i have huge number of data in database ....
So , it take long time to load the report ...
So , i have decided to show only the last 50 records inserted into the database , not all the 500 records to be loaded every time.
Plz help me with this issue ...
Also , Plz explain me abt index legend in crystal report.
I'm creating my first server control, and have it working where I can set up an enum and the user can set a property's choices, based off of that enum. But I'd like it to pull records from a database and populate the list of choices for the property from a database. This would allow me to add a new "Host System" to the database, and the other designers wouldn't have to get a new copy of the dll.
Whenever I open my Crystal Report page, I am taken to the Database Authentication page where I am asked for
User name Data Name Password
Is there a way to avoid this and I save these authentication in my page once.
I am using VS2005, C#.
Any Help will be appriciated.
MSDN Magazine June 2000
I have a web site that is highly dependant on a SQL Server 2008 database. I am using linq to sql to connect to the database and require the website to reflect database changes immediately. Currently the changes are only reflected once a postback occurs and the database is requeried.
Is there a way to get the asp.net page(s) to be alerted of an database change and then to reflect it immediately, or within seconds, on the display? I am aware that one can use the SQLDependency class and ADO.NET to do this, but am not aware of any linq to sql possibilities.
Any help will be greatly appreciated.
hi i am having a gridview on each row i am having a update and add button.
on click of either of the button i am opening a popup where the end user will enter data and on clck of ok button in the child page
based on the click ie
if i clicked update i need to update that particular row with the values from child page.
if i clicked on add i need to add a row below the row where i clicked add button .
can anyone help me with this?
We have a monitoring tool set to check to see if the home pages for our 3 web apps load in under 60 seconds every 10 minutes. All 3 web apps load in under 3 seconds on every 10 minute check except for one exception. One check every
day one of the web app's home page takes longer than 60 seconds to load. This happens at 11:45PM when there is very little user usage on the environment. The characteristics of this page are as follows: The only thing on
the page is a list view web part which was added by the browser. The page has not been customized with SPD or code at all. The list that it pulls is a simple links list that has 281 items on it. The view
pulls all 281 items and displays them in sets of 100. I cannot find any associated event in the server events and/or SharePoint ULS logs nor are there any daily sharepoint timer jobs running at that time. Our full index happens
at midnight with incremental happening hourly. Our enviroment is 2 WFEs, 1 App/indexer and we have a separate SQL cluster backend.
Could someone lead me possibly in the direction I should take next in my troubleshooting?
I have a datalist and I am filling it using a dataadapter, dataset. So in my .ascx page, I have
<asp:datalist runat="server" id="dlProducts" repeatcolumns="2" repeatdirection="horizontal">
<tr><td><%# Eval("Item_Name") %></td></tr>
<tr><td>I have to add a picture here</td><td><%# Eval("First_Name") %></td></tr>
In the area where I have put a statement like "I have to add a picture here", I have write a big case statement. Like:
Case: 6 // show a picture from file1
case: 7 // show a picture from file2
Case 8: //show a picture from file3
So How do I do this here? Because I dont know how to access the datalist values from code behind.
Here is my code behind:
SQLString = "SELECT First_Name, Picture, item_name, item_id from table1 where item_id = " + request.querystring["iid"];
dataadapter daItems = new dataadapter(SQLString, "connection_name");
dataset dsItems = new dataset();
i am working on a asp.net mvc 2 website who have a area and i have a problem with them.
i use different different url routing for application settings. i have two folder called style
first folder location in main directory /Style/style.css
second folder location in Area area/style/style.css
everything is work fine in application but when i used style.css from main directory in my area's views then style not worked. when i track them from firebug then i got error "The resource could not be found" but path is correct.
sombody tell me to use absolute path to solve this issue. how i can use absolute path to declare resource url in views.
any suggestion , sollution on this issue who can help me to solve this issue.
I'm hoping someone can point me in the right direction re troubleshooting. We have a MOSS server farm - 3 WFE 1 APP 1 SQL cluster. All Server 2008 sp1 x64. We see occasional http timeouts (HttpException (0x80004005): Request timed out) with associated
http 500 error. I have enabled failed request tracing and can see the following:
1. -GENERAL_REQUEST_START 157203 ms
AppPoolId SharePoint - intranet.*********.com80
and then later in the trace:
141. -MODULE_SET_RESPONSE_ERROR_STATUS Warning
HttpReason Internal Server Error
ErrorCode The operation completed successfully. (0x0)
The problem happens on other pages too but the rest of the time the page is returned in less than 5 seconds. The server app logs and sharepoint ULS logs do not give any more detailed info. What I want to know is what other troubleshooting step can I take
for http500 errors.
In the past on 32bit environments I have used de
I want to know if there is an easy way to the pre-populate field values to ListB from ListA.
In ListA I have ColumnA, ColumnB and ColumnC. In ListB, I have Column1, Column2 and Column3.
When I add a new item in ListB, Column1 is a lookup field tied to ColumnA. So, if I select a value from the lookup list, I want it to automatically populate ColumnB value to Column2 and ColumnC value to Column3. Can this be done without programming?