|
Hi,
Is it possible to make the horizontal gridlines of a datagrid invisible?How can we implement this in a datagrid?
Any valuable suggestion appreciated,
Thank you,
Regards,
Deepa.
|
|
|
|
|
Set GridLines=None property for grid
Cheers
Navaneeth!!
|
|
|
|
|
Hi Navaneeth,
I want to set the horizontal gridlines of a particular column in a datagrid invisible and not for the Grid as a whole.
Is there any workaround for this?
Thank you,
Regards,
Deepa.
|
|
|
|
|
Hi
I have bought a new computer and then I copied my web projects from the old computer to the new one.Then I made virtual directories for these web projects using IIS.
When I want to build an asp.net 2 project(a solution contains a website and a custom library) using visual studio 2005 I got 101 messages some of them is telling me :
Could not find schema information for the element 'http://schemas.microsoft.com/.NetConfiguration/v2.0:configuration'.
When I run the project I got the error message: The website declined to show this webpage.
When I want to open another web project(asp.net 1.1) using visual studio.net 2003 its telling me that the project is on an untrusted server(I don't remember the whole message) then I clicked yes then everything is working normally with this project.
Could any one tell me what could cause all these problems to happend?
-- modified at 2:12 Friday 16th February, 2007
I am too late but i will never give up
|
|
|
|
|
Hi,
Can anyone suggest how I can resize an IE window in the Page.Load event handler? I can't set the size of the window by the calling function using Javascript as it's called by a third party application. The web form that is opened really needs to open as a specific size.
Any ideas?
|
|
|
|
|
phm37 wrote: Can anyone suggest how I can resize an IE window in the Page.Load event handler?
What you are asking for is impossible. The Page_Load method is run on the server, and the window that you want to resize is on the client computer.
As you want to change the size of a window in the browser, you have to use client script. Use the window.resizeTo method to set the size of the window. This is not guaranteed to work, though. You can disallow scripts to resize windows in the browser settings.
---
single minded; short sighted; long gone;
|
|
|
|
|
I have a stored procedure that returns the name of a tab based on the provided key.
I need to get the tab_name out of the dataset table (called rows) and put it in the NewTab.Text property.
I tried this which doesnt work:
NewTab.Text = DataBinder.Eval("ReturnedDataset.Tables["rows"].DefaultView.[0].tab_name");
I've been reading the documentation but cant seem to get it to work. What should I be using ?
|
|
|
|
|
Did you try it without quotes?
digsy_ wrote:
NewTab.Text = DataBinder.Eval("ReturnedDataset.Tables["rows"].DefaultView.[0].tab_name");
Literal "ReturnedDataset.Tables["rows"].DefaultView.[0].tab_name" is passed to Eval function. You want to pass value in tab_name.
NewTab.Text = DataBinder.Eval(ReturnedDataset.Tables["rows"].DefaultView.[0].tab_name);
Just noticed... You example shouldn't even compile - You cannot nest quotes!
"Throughout human history, we have been dependent on machines to survive. Fate, it seems, is not without a sense of irony. " - Morpheus
|
|
|
|
|
I have the following database table. This is a list of department names.
DeptID Department
1 Administration
2 Information Technology
3 Product Development
4 Sales
5 Marketing
6 Partnerships
7 Contractor
From the Employees table I read in this record:
1001 7 4 Doe Jane M 12/24/2005 12:00:00 AM False
My problem is this: I’m using a web page to edit employee information. On this web form there are four drop down boxes, one each for Departments, Titles, Address Types and States. After I initialize the web page and populate the above mentioned drop down list with the necessary data. I want to take the employee record and set the drop down list to the right item in the list.
How can I make ASP.NET populate the dropdown lists based on the foreign ID number contained in the employee record?
I have a screen shot of what I want the data to look like in the web page, but I can't show it in this message.
Thank you,
Quecumber256
|
|
|
|
|
listControl.SelectedIndex = listControl.Items.IndexOf(listControl.Items.FindByValue(deptID))
Michael
I firmly believe that any man's finest hour, the greatest fulfillment of all that he holds dear, is that moment when he has worked his heart out in a good cause and lies exhausted on the field of battle - victorious.
Vince Lombardi (1913-1970)
|
|
|
|
|
hi,
can any one help me out...
i have developed one project in which the my contents are in the user control and am just exposing the click of the button to the page and by clicking on it a popup is opening. in the same user control i have a gridview which showing some data. but when i click on the button the popup opens the gridview content disappear for the case of mozila but working fine with IE.
can some one tell me the reason why is it so...
its urgent...
|
|
|
|
|
Warning - this is a dig at Microsoft!
Why on earth did MS use a variable called ToolTip to represent the title attribute of an image tag? Don't they know that only IE incorrectly uses this as a tooltip!?! Grrrrrr!!
/rant over
It always feels good to dis the big boys
|
|
|
|
|
Please forget about First One which I posted befere, And can you help me to solve the problem plase.
Server Error in '/' Application.
--------------------------------------------------------------------------------
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Could not load file or assembly 'Microsoft.ReportViewer.WebForms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
Source Error:
Line 1: <%@ Page Language="VB" MasterPageFile="~/MasterPage.master" AutoEventWireup="false" CodeFile="SingleDate.aspx.vb" Inherits="AuditLog_SingleDate" title="Untitled Page" %>
Line 2:
Line 3: <%@ Register Assembly="Microsoft.ReportViewer.WebForms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
Line 4: Namespace="Microsoft.Reporting.WebForms" TagPrefix="rsweb" %>
Line 5: <asp:content id="Content1" contentplaceholderid="ContentPlaceHolder1" runat="Server">
Source File: /AuditLog/SingleDate.aspx Line: 3
Assembly Load Trace: The following information can be helpful to determine why the assembly 'Microsoft.ReportViewer.WebForms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' could not be loaded.
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42
Sarfarj Ahmed
|
|
|
|
|
A little more background might be useful. What are trying to do? What have you done?
only two letters away from being an asset
|
|
|
|
|
1. Pulling or Talking data from Server
2. Using Microsoft Reporting Service to create Report
3. VS2005-->>ASP.NET-->>REPORT.RDLC
Thanks
Sarfarj Ahmed
|
|
|
|
|
This is pretty obvious from the error message. Now how about giving some info that will actually help.
only two letters away from being an asset
|
|
|
|
|
Actually I dont know wot information you need.
Basically, Source File: /Lesson/Lessons.aspx suppose to show CustomerReports.rdlc report From the Server, Where Server got SQL SERVER DATABASE, When I will click SHOW button on that time report should be come but If I click .aspx file on that time Im getting error.
Thanks
Sarfarj Ahmed
|
|
|
|
|
Hi
Im Developing file upload /download process. i can upload 600 MB file when i run my application locally. i Can not achieve this on live sever. i updated my web.config file as
<httpRuntime executionTimeout="1800" appRequestQueueLimit="100" maxRequestLength="655600" useFullyQualifiedRedirectUrl="false" enableVersionHeader="true" minFreeThreads="8" minLocalRequestFreeThreads="4" />
r_palanivel83 10:01 4 Jan '06
|
|
|
|
|
I used this n its working fine for me ...pls check
<httpruntime
executiontimeout="90"
maxrequestlength="512000"
usefullyqualifiedredirecturl="false"
minfreethreads="8"
minlocalrequestfreethreads="4"
apprequestqueuelimit="100"
>
|
|
|
|
|
Hi actually i have done this on my web.config but its not working in my live server. is it working locally or online for u?
r_palanivel83 10:01 4 Jan '06
|
|
|
|
|
Its working for me locally as well as online too...
|
|
|
|
|
i m developing a web based application in c#. i just wanted to ask the most basic qn..
how to insert the current date in the database... how shud i provide the option on the webpage.. and wat all is required in the database.
till yet i have created a field named Dt and datatype datetime..
Kunal Piyush
|
|
|
|
|
Hi
You can insert Data in many ways . try to use stored procedures(for good programming).
here i give u some sample code
SqlConnection sqlCon=new SqlConnection("connection string");
sqlCon.Open();
SqlCommand insertCmd = new SqlCommand("stored procedure name", sqlCon);
insertCmd.CommandType = CommandType.StoredProcedure;
//Create parameter and Set values
insertCmd.Parameters.Add(<parameter name>, <DataType>,<size>);
insertCmd.Parameters[<parameter name>].Value = <Value>
insertCmd.ExecuteNonQuery();
sqlCon.Close();
r_palanivel83 10:01 4 Jan '06
|
|
|
|
|
hey
i m sorry if i cudnt clarify myself..
wanted a walthrough ragarding inserting a DATE...
thx..
Kunal Piyush
|
|
|
|
|
DateTime.Now is the .NET method of getting the current date object.
or if your using SQL Server you can use the GETDATE() SQL command directly in your query
|
|
|
|