|
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)
|
|
|
|
|
Hi,
Yes you should pass parameters (object sender, EventArgs e) to the function and also you should set "AutoPostBack" property of dropdown list to "true".
I hope this will help you.
Thanks and Regards,
Chetan Ranpariya
|
|
|
|
|
yes do have to pass the parameters, all event handlers need two parameters, object and event argumaents, in you case you have to send EventArgs as arguments. The html syntax is right.
If DDLMaterialCode2 is a drop down list then the following line is wrong
Response.Write(DDLMaterialCode2.Text);
instead of the above you need
Response.Write(DDLMaterialCode2.SelectedValue or SelectedText);
-----
|
|
|
|
|
i have this code:
pdfdocument[] pdf = new pdfdocument[2000];
reportDocument[] rpt = new reportDocument[2000];
for(int i=0;i<2000;i++)
{
rpt[i] = loadReport("anycrystalreport.rpt");
pdf[i] = convertcrystalreporttopdf(rpt[i]);
}
showpreviewpdf(merge(pdf));
this codes make the error:
the maximum report processing jobs limit configured by your system administrator has been reached.
please help me.
if my codes isn't good method for this action please give me any ideas for show multiple reports in one pdf file.
i know that how to marge 2000 pdf file to one pdf file.
We Can Do Anything, If We Want It
|
|
|
|
|
hi friends
Is this possible to refresh the data in datagrid automatically?
regards
saravanan
|
|
|
|
|
just re-bind datagrid...
<< >>
|
|
|
|
|
Hello Friends,
I am getting an error on the pages i am trying to access database.
PLease have a look to the error and help me our with all the possibilities.
Exception Details: System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.<br />
Deepak Surana
|
|
|
|
|
I'm not sure I can help...but can you debug your app to see which line of code causes this exception?
<< >>
|
|
|
|
|
There is no error coming up on my local machine, but only when i upload it to a server.
Deepak Surana
|
|
|
|
|
Hi,
I think you need to register 'System.Security.dll' in your server.
Regards,
Sandeep Kumar.V
-- modified at 1:42 Friday 4th May, 2007
|
|
|
|
|
HI all,
Here am using 2 user Controls.One Usercontrol(Button.ascx) is having Button and another Usercontrol(Grid.ascx) is having Datagrid.
Am placing these 2 controls on different page(New.aspx).
Here i want to fill the datagrid in the Bitton Click event.
I used delegates and Enabled Buton click event and Datagrid Bind event in the New.aspx page.Here the click event is enabled but Datagrid event is not firing and its not entering into the event.
Pls guide me How to call an event within the event which r in difft UCs.
Thanks in Advance
Have a Nice Day Dudes
|
|
|
|
|
I am trying send a hyperlink in mail. It worked correctly for gmail, hotmail etc. But it is not showing the link in some email providers. This is the code what i am using for link.
str += "<strong><a href='http://" + httphost + "/accounts/Vendor/QuoteResponse.aspx?req=" + qs.ToString() + "'>";
str += "Click Here To Quote</strong></a>";
Where I am going wrong ?
printf("Navaneeth!!")
www.w3hearts.com
|
|
|
|
|
What the user receives at email client? IMO, email client setting should enable HTML view...
<< >>
|
|
|
|