|
I have a GridView. In which I have a template column
AppName
How can I pass the value of column to another page and store in querystring
seema
|
|
|
|
|
Better use sessions.
Session["TemplateColumn"]=GridView.Columns[index];
Regards,
Arun Kumar.A
|
|
|
|
|
hi
i have some hyperlinks that show news title, i want when user click on hyperlink redirect to another page and pass some values to that page, but how to do ?
thanks
|
|
|
|
|
Passing variables between pages using QueryString[^] Does it help?
"Throughout human history, we have been dependent on machines to survive. Fate, it seems, is not without a sense of irony. " - Morpheus
"Real men use mspaint for writing code and notepad for designing graphics." - Anna-Jayne Metcalfe
|
|
|
|
|
I am inserting data into the database using SqlDataSource Control, but i can't choose more than one table "when clicking on the Query Builder". What should i do to insert data into more than one table.
Thanks for ur help. Please I am a new developer with a little experience so if u have the solution send it to me with little details
yasso
|
|
|
|
|
If you are set on using a SqlDataSource, you can build a view in your database that joins the tables so that the SqlDataSource can then use that view for your control.
Beyond that, I would recommend you walk through a tutorial on using various data sources.
|
|
|
|
|
Hello, Some of you probably have seen the new version of hotmail.com i think it's "live". I am wondering how can I create the same effect as we click on expand the main panel on the screen takes the entire screen. If we click on the button again the panel and it's elements comesback to its default states.
Can someone direct me on the right path or can tell me some links so i can study.
Thanks
|
|
|
|
|
by using placeholders
mareers
|
|
|
|
|
My web page has an image control with an image url defined. The control seems to resize the picture to make it fit inside its boundaries. How can I turn off the image resizing so that it displays the picture actual size while clipping any part of the image that does not fit inside its boundaries? I was trying to use the Bitmap class to accomplish this without success.
|
|
|
|
|
Try to clear the width and the height property of the image control.
Regards,
Arun Kumar.A
|
|
|
|
|
My image control height and width is 400px X 300px. The picture is 800px x 400px. When the image control displays the picture I would like it to display the picture without resizing it. So you would only see the part of the picture that fits inside the 400px x 300px boundary of the image control. The rest of the picture will be clipped.
|
|
|
|
|
Hi..
I have a textbox that was firing Text_changed event when the user press Enter.but now it is not firing any more.But the handler for this event is executed when a postback occur(for example when I click a button).
The only change I made it was putting the asp:textbox in a <DIV> instead of a <table><tr><td>.
I observed when I press enter in the textbox I hear a sound(one of the windows usual sounds).
Could any one tell me how to solve this problem and make it working as before(when the user press Enter)?
-- modified at 12:40 Friday 4th May, 2007
I am too late but i will never give up
|
|
|
|
|
I think U can set AutopostBack Property to true.
Regards,
Arun Kumar.A
|
|
|
|
|
Thank you for your respond...
It was working without using Autopostback.But currently I tried setting AutoPostBack to true but it doesn't solve the problem.
I am too late but i will never give up
|
|
|
|
|
Which version of framework are you using ?
Did you changed the nam of text box ?
Have you writtent the code in javascript or code bhind file ?
Thanks and Regards
Sandeep
If you want something you never had,
do something you have never done!
|
|
|
|
|
I have built the web application using VS2003.I have installed Framework 1.1 and 2.
I didn't change the name of the textbox.
I have written the code in the code behind file(C#).
The only change I made it was putting the asp:textbox in a <DIV> instead of a <table><tr><td>.
I observed when I press enter in the textbox I hear a sound(one of the windows usual sounds).
-- modified at 12:39 Friday 4th May, 2007
I am too late but i will never give up
|
|
|
|
|
My users need to be able to covert an .vox file to a .wav file via my .net web app. Any ideas where to start?
|
|
|
|
|
hello
thansk for the time
in my aspx i have then next code
rsweb:ReportViewer ID="rvReportes" ProcessingMode="Remote" OnDrillthrough="rptPublic_Drillthrough"
runat="server" Font-Names="Verdana" Font-Size="8pt" AsyncRendering="true" SizeToReportContent="true"
i load my reportviewer in the server side
rvReportes.Visible = True<br />
Dim oReportesBL As New ReportesBL<br />
Dim oReportesBEReportesDataTable As ReportesBE.ReportesDataTable<br />
Dim rdlc As String<br />
Dim RootReport As String<br />
Dim Pais As String<br />
Dim parametros(6) As ReportParameter<br />
<br />
rvReportes.ProcessingMode = Microsoft.Reporting.WebForms.ProcessingMode.Remote<br />
rvReportes.ServerReport.ReportServerUrl = New Uri(ConfigurationManager.AppSettings("SeverReport"))<br />
oReportesBEReportesDataTable = oReportesBL.GetReporteByID(ReporteID)<br />
rdlc = oReportesBEReportesDataTable.Rows(0).Item("rdlc")<br />
RootReport = ConfigurationManager.AppSettings("RootReport")<br />
Pais = ConfigurationManager.AppSettings("Pais")<br />
rvReportes.ServerReport.ReportPath = RootReport + rdlc<br />
<br />
parametros(0) = New ReportParameter("iAplicacionid", Convert.ToString(Trim(AplicacionID)), False)<br />
parametros(1) = New ReportParameter("iUsuarioid", Convert.ToString(Trim(UsuarioID)), False)<br />
parametros(2) = New ReportParameter("sIdPais", Convert.ToString(Trim(Pais)), False)<br />
parametros(3) = New ReportParameter("iIdProcod", Convert.ToString(Trim(EmpresaID)), False)<br />
parametros(4) = New ReportParameter("sIdCanal", Convert.ToString(Trim(CanalID)), False)<br />
parametros(5) = New ReportParameter("dFechainicial", Trim(FechaInicial), False)<br />
parametros(6) = New ReportParameter("dFechafinal", Trim(FechaFinal), False)<br />
<br />
<br />
<br />
rvReportes.ServerReport.SetParameters(parametros)<br />
rvReportes.ServerReport.Refresh()<br />
but the property SizeToReportContent dont work i try the article the part of xhtml but i dont have my reportviewer inside of table.
how can i sizeto reportcontent to size of the report
thanks
sorry for my english
|
|
|
|
|
I am trying to keep the user from shrinking the browser (IE 6 and IE7) window lower than 800 by 600. I have tried using window.open() in JavaScript but this only seems to let me set the size initially and freeze the browser window to what ever size that I start with. I have also tried some JavaScript code and I get an "Access Denied" message when I hit the window.resizeBy() call.
Brent
|
|
|
|
|
Why would you want to do this?
|
|
|
|
|
Eggs,
It is just something that my manager wanted.
I don't usually want or not want anything, they say what they want and I make it happen.
Nuck, nuck, nuck.
Brent
|
|
|
|
|
i voted 5 points
Thanks and Regards
Sandeep
If you want something you never had,
do something you have never done!
|
|
|
|
|
HI All
how can we write code for SelectionChange Event of the DropDownlist control in ItemTemplate of a GridView ( for Editing Purpose of GridView) So that Text of other Dependent Text box of that row can be changed according to that combo's selected text.
I added a DropDownlist but unable to write it SelectionChange Event.
Hope to get a solution
Thanks in advance.
axn
Using ASP.NET 2.0 (VS2005)
|
|
|
|
|
In HTML section add this to the drop down list OnSelectedIndexChanged=ddlSelectedIndexChanged and then in code behind create a this sub e.g protected virtual void ddlSelectedIndexChanged and in this sub do whatever you want to do..
-----
|
|
|
|
|
Thanks Bhati
I did the same but in code behind following errors comes:
CS0103: The name 'DDLMaterialCode2' does not exist in the current context
I wrote this code:
protected virtual void DDLMaterialCode2SelectedIndexChanged()<br />
{<br />
Response.Write(DDLMaterialCode2.Text);<br />
Response.End();<br />
}
Should I pass these parameters (object sender, EventArgs e) to this function.
and Is it Correct OnSelectedIndexChanged="DDLMaterialCode2SelectedIndexChanged"
Hope to get fast reply
Thanks
Bajrang
Using .net 2.0 (VS2005)
|
|
|
|