|
The DataList is a templated control. You need to define a header template[^] to be displayed.
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
Hi,
I have a datagrid that has a column of links and one of these
links is clicked, a new browser window pop up and shows the aspx specified in
the link.
Thnx in Advance
|
|
|
|
|
|
how i can add scroll bars to a grid view control
|
|
|
|
|
Put it in a div and set it up to have scroll bars.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
<asp:updatepanel id="up_gv_planSpareutilise" runat="server" updatemode="Always">
<contenttemplate>
<asp:gridview runat="server" id="gv_planSpareutilise" skinid="GridViewWithOutPaging"
="" showheader="false" showfooter="false" datasourceid="ods_planSpareutilise" autogeneratecolumns="False" datakeynames="WO_ID,PK_WO_SPARE_REQD" allowpaging="false" horizontalalign="Left">
<rowstyle cssclass="row">
<headerstyle>
<columns>
<asp:boundfield datafield="PROD_NAME" readonly="True" showheader="false">
<itemstyle horizontalalign="Left" verticalalign="Middle" wrap="False" cssclass="cls_rowstyle"
="" width="122px">
<asp:boundfield datafield="QTY" readonly="True" showheader="false">
<itemstyle horizontalalign="Right" verticalalign="Middle" wrap="False" cssclass="cls_rowstyle,pad_Right10"
="" width="35px">
<asp:boundfield datafield="EST_COST" readonly="True" showheader="false" dataformatstring="{0 .00}">
<itemstyle horizontalalign="Right" verticalalign="Middle" wrap="False" cssclass="cls_itemstyle"
="" width="101px">
<emptydatatemplate>
<asp:label id="lbl_noRecordplan" runat="server" meta:resourcekey="lbl_noRecordplan"
="" width="306px" font-size="13px">
<headerstyle horizontalalign="Center">
use a div with property as style="overflow:auto" or style="overflow-x:scroll;overflow-y:scroll;" and update panel inside it and its update mode="always" it will hold its position....any more help needed reply to pratik.vishwakarma@live.in
|
|
|
|
|
hi
i got all by datatables in dt can i assign it directly to crystal reports as me code follows like this:
Dim dt As DataTable
dt = trackFac.FullReportCR()
CrystalReportViewer1.ReportSource = dt
and i wrote this in Button click event
can anybody tell is this write
Regards
padma
|
|
|
|
|
dandamudi padma wrote: Dim dt As DataTable
dt = trackFac.FullReportCR()
CrystalReportViewer1.ReportSource = dt
I don't think this is right. ReportSource of the CRV object should be a ReportDocument Object and DataSource of the ReportDocument Object should be the DataTable .
Regards - J O H N -
|
|
|
|
|
Hi all,
I am asked this question in an Interview. Add the Cart Entry in the tempory Grid which has the buttons for edit/delete.If the user add the entry then you have to show the items in the added cart and if the user want to delete then that particular row has to deleted.
I have replied that, I wil store the entry in the Gridview, when the user click the add button then add that entry(row) in the View. If the user click the click the delete button i wll remove the particular row from Gridview.
But the interviewer told that not it is not that goood way. What I did wrong heere
Thanks
Dana
|
|
|
|
|
Well, if they tell you it's not a good way, you need to ask them why they think so, and be prepared to either accept their advice, or to argue the point if you think they are wrong. What did they say the reason was ?
My main thought would be that a more lightweight control would work just fine, and a site with a shopping cart may be high traffic and concerned about server load.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
They Didnt tell any reason.But replied that we need some more points
Dana
|
|
|
|
|
OK - next time, ask. If I interviewed someone and told them their answer was wrong, and they didn't ask, that would be the end of the interview for me.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Normally here in India, If the interviewer is telling that your answer is wrong and you are asking why, then your rating of getting selected wil go low considerably.
Dan
|
|
|
|
|
Well, that's the sort of attitude that will kill people outsourcing to India, if it's not dead already. That is just dumb.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
No, you are wrong. Interviewer's alway test your confidence level. You should be strong enough to ask why when they are wrong. If you are not selected it's not because you asked why, may be someone would have done better than you or you might have not performed upto their expectation...
Regards - J O H N -
|
|
|
|
|
But they have to tell the reason for not selection ?
|
|
|
|
|
hi
my project works perfectly locally before publishing the website but after that i get this error:
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 the assembly 'App_Web_1eiylnrk'. Make sure that it is compiled before accessing the page.
Source Error:
Line 1: <%@ control language="VB" autoeventwireup="false" inherits="index, App_Web_1eiylnrk" %>
i checked the .dll files in the bin folder and it matches the source. can you please help me out
|
|
|
|
|
Hi,
I want to specify fields from listbox that bind to table of database ,and put this specific field to ReportViewer but the problem is here:
I can't place user variety choice fields to reportviewer at run time.
I use cystalreport in visual studio 2005
|
|
|
|
|
iam working with files... i brought a file content into a textbox and i made changes to the file content now i want to save this modified file with the same name and with the same path.
|
|
|
|
|
The text file comes down from the server ? So you want to save it back to the server ? Why is the user modifying a file on the server, and why is it in the file system ? You can just get the text on postback and write it to the file.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
iam having some text in the textbox.i want the this text to be save in the sepcified file .
|
|
|
|
|
It sounds to me like you're hopelessly lost. This is the ASP.NET forum. It doesn't sound like you're writing a web app. Did you mean the C# or VB.NET forum ? If so, File.SaveAllText is what you need.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
hi
i have an .asp page which contains the controls and different html pages in a html table and i have to change the login part of the page to aspx page in aspdotnet1.1 using vb.net. i think i will place a pannel in the asp page and devlop a new aspx page for login module and place it with in the pannel of this asp page. So please help me how to do this? wheather it is phisible or not. and also please send if anyone has some alternate solution for this problem. the look and feel and functionality of the asp page should not be change.
it's urgent please help....
thanks and regards
bikash
bikash@milessoft.com
|
|
|
|
|
Dear All,
Can any example the of Server.Tranfer and Response.Write . In many website I have seen the difference between them.Where I have to use Server.Transfer and Reponse.Redirect.
Thanks in Advance
Dana
|
|
|
|
|
danasegaranea wrote: Where I have to use Server.Transfer and Reponse.Redirect.
This depend's on what you want. Say for an example If you want to transfer the control to another page in the same server but you prefer to keep the URL the same and like to transfer the query string values to the next page then you should use Server.Transfer . If you just simply want to tell the browser to transfer to another page in the same server or different server then you should use Response.Redirect . Note: Server.Transfer doesn't add the page to the history of page visited on the client-side cache.
Regards - J O H N -
|
|
|
|