
laxman
Avatar/Signature-
Posts
28 -
Joined
-
Last visited
Content Type
Profiles
Forums
Blogs
Events
Articles
Resources
Downloads
Gallery
Everything posted by laxman
-
Can Any one suggest me is there any alternative or some solution to this
-
hi all, i am developing an online application using asp.net 2.0 with C# in this i have to show user how much time left to fill the form i am able give using below java script but when ever page refreshes it is starting from the first can you suggest me how to maintain time left even if page got refreshes also please check the below code or any alternative <script type="text/javascript"> setInterval ( "doSomething()", 1000 ); function doSomething ( ) { var att=document.getElementById("Txtpno").value; att--; if(att==0) { window.confirm("[laxman]"); } else { document.getElementById("Txtrnk").value="Time left:"+att; document.getElementById("Txtpno").value=att; } }
-
hi all, i am new to crystal reports and i have come accross one situation in developing reports, in one of my report we are publishing the data which contains previous 4 yrs data also the report contains the colums yr1, yr2, yr3, cur yr, group and current yr average fine here the last two colums are common for all. so after developing the report it should show the data of remaining colums(yr1,yr2,yr3 and current yr which will change) with the last two colums are not disturbed can any one tell me which control or how can i achive this
-
hi i have to create a style sheet which should applicable to .aspx table can any tell how to write style sheet for this if possible with sample
-
hi, i want split the default.aspx form into three frames as we will do in HTML when i am trying to create frames it is giving error how can i achieve this please do suggest me if there are other approaches
-
Hi, I have to develope a form which will append the data to an word document i have to do it for web application, Note: I tried some of the code but it is opening a dialog box and asking the user to open,save and cancel here i don't want to show this to user how can achieve this in asp.net 2.0
-
Thank you for ur reply can u suggest me the approach to session capturing if possible with example
-
Can you tell me what should i do in global.asax file and also you mentioned every thing (session details) in proc how to do that
-
hi, i am using in my login page one session variable and assigning the value of username fine this i am getting in required page it is working fine, all here i want to capture the Session time out how to do that i have tried the below code it is not working can any one help me out with an example or whats wrong in my code the code as follows the below line i am writing in my login page Session["UserLoginName"] = TextBox1.Text; and i am capturing this in another form like this S_UserLoginName= (string)Session["UserLoginName"]; Lblsession.Text = S_UserLoginName; this is working fine for capturing expiration in global.asax void Session_Start(object sender, EventArgs e) { // Code that runs when a new session is started Session["CustomSessionId"] = Guid.NewGuid(); } and in my another form i am checking like this if (!Page.IsPostBack) { if (Session["CustomSessionId"] == null) { Response.write("Your session is expired please login again"); } else { } } the above code i got it from one site can any one help me out how to capture session expiration thank you
-
hi, i Have developed one form using ASP.NET 2.0 with C#, In this form i am binding some data to the grid view which need to approve by admin in this i have used a hyper link button to select one row of data to approve in the hyperlink i am redirecting the form to another where i am displaying all the data, in this page admin do approve. the grid view form is not binding properly please let me know what i have to do for a one time refresh of the while loading?
-
k thank u after installing the crystal reports runtime on the server also i am getting the same error
-
In server i have just installed dotnet frame work 2.0, Is Crystall reports installation required on the server?, as of my knowledge we have used only inbuilt crystal report controll so i thought i would not require please expalin
-
Hi, I have developed an web application using Visual Studion 2005, In my project i am using crystal reports to generate a user friendly document, Here Every thing is working fine the same application i have deployed in my production server i am getting one the details are given please let me know what migfht went wrong or how to fix this problem Server Error in '/Workflow' Application. -------------------------------------------------------------------------------- Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. Parser Error Message: Could not load file or assembly 'CrystalDecisions.CrystalReports.Engine, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified. Source Error: Line 37: <assemblies> Line 38: <add assembly="Microsoft.VisualBasic, Version=8.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/> Line 39: <add assembly="CrystalDecisions.CrystalReports.Engine, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/> Line 40: <add assembly="CrystalDecisions.ReportSource, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/> Line 41: <add assembly="CrystalDecisions.Shared, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/> Source File: D:\laxmanreddy\RBIWorkflow\web.config Line: 39 Assembly Load Trace: The following information can be helpful to determine why the assembly 'CrystalDecisions.CrystalReports.Engine, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' 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 Here is my web.config file contains <?xml version="1.0"?> <!-- Note: As an alternative to hand editing this file you can use the web admin tool to configure settings for your application. Use the Website->Asp.Net Configuration option in Visual Studio. A full list of settings and comments can be found in machine.config.comments usually located in \Windows\Microsoft.Net\Framework\v2.x\Config --> <configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0"> <appSettings> <add key="CrystalImageCleaner-AutoStart" value="true" /> <add key="CrystalImageCleaner-Sleep" value="60000" /> <add key="CrystalImageCleaner-Age" value="120000" /> </appSettings> <connectionStrings> <!--<add name="db1" connectionString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source='C:\Documents and Settings\PaulJ\My Documents\Visual Studio 2005\WebSites\WebSite2\databases\db1.mdb'" providerName="System.Data.OleDb"/>--> <add name="helpdesk" connectionString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source='C:\Inetpub\wwwroot\RBIWorkflow\helpdesk.mdb'" providerName="System.Data.OleDb"/> </connectionStrings> <system.net> <mailSettings> <!-- <smtp configSource="156.0.11.200"></smtp> Commented for testing--> <smtp><network host="156.0.11.200"/></smtp> </mailSettings> </system.net> <system.web> <!-- Set compilation debug="true" to insert debugging symbols into the compiled page. Because this affects performance, set this value to true only during development. --> <compilation debug="true"> <assemblies> <add assembly="Microsoft.VisualBasic, Version=8.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/> <add assembly="CrystalDecisions.CrystalReports.Engine, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/> <add assembly="CrystalDecisions.ReportSource, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/> <add assembly="CrystalDecisions.Shared, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/> <add assembly="CrystalDecisions.Web, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/> <add assembly="CrystalDecisions.ReportAppServer.ClientDoc, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/> <add assembly="CrystalDecisions.Enterprise.Framework, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/> <add assembly="CrystalDecisions.Enterprise.InfoStore, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/> </assemblies> <buildProviders> <add extension=".rdlc" type="Microsoft.Reporting.RdlBuildProvider, Microsoft.ReportViewer.Common, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/> </buildProviders> </compilation> <!-- The <authentication> section enables configuration of the security authentication mode used by ASP.NET to identify an incoming user. --> <authentication mode="Windows"/> <!-- The <customErrors> section enables configuration of what to do if/when an unhandled error occurs during the execution of a request. Specifically, it enables developers to configure html error pages to be displayed in place of a error stack trace. <customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm"> <error statusCode="403" redirect="NoAccess.htm" /> <error statusCode="404" redirect="FileNotFound.htm" /> </customErrors> --> <httpHandlers> <add path="CrystalImageHandler.aspx" verb="GET" type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/> <add path="Reserved.ReportViewerWebControl.axd" verb="*" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" validate="false"/> </httpHandlers></system.web> </configuration> Thanks in Advance
-
hai, i am generating check boxes dynamically (code is given below) i wanted to capture the check box checked status plz help me how to do this, dont consider that i have given both text property and ID are same as this i am testing i have given this CheckBox chk; chk = new CheckBox; DateTime dt = DateAndTime.DateAdd(DateInterval.Day, 1, date1); String str = dt.ToString("D"); String[] abc = str.Split(new Char[] { ',' }); Panel1.Controls.Add(chk); chk.ID=abc[0]; chk.Text=abc[0]; chk.Width=150; chk.Height=50; If Possible give me sample example
-
hai, i want to know how we can do the text moving from right to left in loop as it in the browser i want to do in windows form is there any new controll are how we can do
-
Dear all, i have developed a sample web service i wanted to deploy this secureli and with https how to do this plz explain
-
Dear All, I am developing a web application using asp.net with c# in this i am using datagrid to show the information which should also have an option to update the data this i am doing by providing the button column and remainging columns i am using are item template for this i have created the event handler to fill the data in to another form while executing i am getting null values here i am giving my code: .aspx page code [highlight=asp] <TABLE border="0" cellSpacing="0" cellPadding="0"> <TR> <TD align="center"> <asp:datagrid id="RunTimeGrid" runat="server" OnItemCommand="ItemCommand" BorderWidth="1px" PagerStyle-Font-Bold="True" BorderStyle="None" BorderColor="White" AutoGenerateColumns="False" CellPadding="3" BackColor="White" OnSelectedIndexChanged="RunTimeGrid_SelectedIndexChanged"> <ItemStyle BorderColor="#e2e5e7" BackColor="#e2e5e7"></ItemStyle> <HeaderStyle Font-Name="Tahoma" Font-Size="10" Font-Bold="True" ForeColor="White" BorderColor="Black" BackColor=#2596AA></HeaderStyle> <Columns> <asp:TemplateColumn HeaderText="Sl.No."> <ItemTemplate> <SPAN> <%# (Container.DataSetIndex)+1 %> </SPAN> </ItemTemplate> </asp:TemplateColumn> <asp:TemplateColumn HeaderText="transaction_id"> <ItemTemplate> <SPAN> <%# DataBinder.Eval(Container.DataItem, "transaction_id")%> </SPAN> </ItemTemplate> </asp:TemplateColumn> <asp:TemplateColumn HeaderText="mobile_no"> <ItemTemplate> <SPAN> <%# DataBinder.Eval(Container.DataItem, "mobile_no")%> </SPAN> </ItemTemplate> </asp:TemplateColumn> <asp:TemplateColumn HeaderText="Transaction_date"> <ItemTemplate> <SPAN> <%# DataBinder.Eval(Container.DataItem, "Transaction_date")%> </SPAN> </ItemTemplate> </asp:TemplateColumn> <asp:TemplateColumn HeaderText="Transaction_Time"> <ItemTemplate> <SPAN> <%# DataBinder.Eval(Container.DataItem, "Transaction_Time")%> </SPAN> </ItemTemplate> </asp:TemplateColumn> <asp:TemplateColumn HeaderText="vendorTransactionId"> <ItemTemplate> <SPAN> <%# DataBinder.Eval(Container.DataItem, "vendorTransactionId")%> </SPAN> </ItemTemplate> </asp:TemplateColumn> <asp:TemplateColumn HeaderText="STATUS"> <ItemTemplate> <SPAN> <%# DataBinder.Eval(Container.DataItem, "STATUS")%> </SPAN> </ItemTemplate> </asp:TemplateColumn> <asp:TemplateColumn HeaderText="AMOUNT"> <ItemTemplate> <SPAN> <%# DataBinder.Eval(Container.DataItem, "Amount")%> </SPAN> </ItemTemplate> </asp:TemplateColumn> <asp:TemplateColumn HeaderText="Description"> <ItemTemplate> <SPAN> <%# DataBinder.Eval(Container.DataItem, "Description")%> </SPAN> </ItemTemplate> </asp:TemplateColumn> <asp:TemplateColumn HeaderText="Mode"> <ItemTemplate> <SPAN> <%# DataBinder.Eval(Container.DataItem, "Mode")%> </SPAN> </ItemTemplate> </asp:TemplateColumn> <asp:ButtonColumn Text="EDIT" ButtonType="PushButton" HeaderText="Clicktoaccept" CommandName="Edit"> <ItemStyle ForeColor="Black"></ItemStyle> </asp:ButtonColumn> </Columns> <PagerStyle Font-Bold="True"></PagerStyle> </asp:datagrid></TD> </TR> </TABLE> [/highlight] .aspx.cs code protected void ItemCommand(Object source, System.Web.UI.WebControls.DataGridCommandEventArgs e) { if (e.CommandName == "Edit") { FillTheData(e.Item.Cells[2].Text); //e.Item.c string s = e.Item.Cells[2].Text; Session["Username"] = e.Item.Cells[0].Text; Session["as"] = e.Item.Cells[1].Text; Session["asd"] = e.Item.Cells[2].Text; Session["abcd"] = e.Item.Cells[3].Text; Session["abcde"] = e.Item.Cells[4].Text; Session["abcdef"] = e.Item.Cells[5].Text; Session["lax"] = e.Item.Cells[6].Text; Session["man"] = e.Item.Cells[7].Text; //LabError.Text="Sorry It is already Assigned"; Response.Redirect("Update.aspx"); } please guide me what is my coding problem i am developing it in visual studio 2005
-
Dear ALL, I am developing the windows application which interacts with one external hardware, with this hardware i have to run a command which perofrms an operation with the hardware. this i am running in the DOS, But actually this should run in back ground(Pageload) mean while i have to show another screen, i am able get run the command but whenever it is running the dos screen is showing and closing i want to avoid showing the dos screen how i can do this
-
Hai i am developing the windows application in visual studio 2005 vb.net here i want to maintain versioning of my code i heard that VSS but i dont know about how to get it and use can any one give suggestion to work out this thank you in advance
-
thank you for your reply and i am able to get the data by using contains key word.here my problem is i am updating each and every time if user does any thing so if suddenly power off shut down, after restarting i have to get the last six lines or last say some half an hour data in the file if any one suggest with one example it would be great thank you
-
I have two text boxes in which i am providing the date here i want to do date validation like start date should not more than end date this i wanted to do in windows application vb.net 2005
-
hai all i am developing a windows application, in this application i am creating log file(textfile), here i want to generate the report based on the log file i am able to read full data but i want to capture the line which contains specifik key word here i am unable get the line which contains the specific key word let me know how to do this thanks in advance
-
Hai All I am developing a windows application, For which my client given an web service URL,a WSDL file and username,password, and they were expecting we need to pass some data with username and password. here i am not undersatnding how to procede i have done invoking the url and sending the HTTP Request but here that way is not working so please guide me how to proceede if possible sample code. Thank you in advance. I think my client provided a JAVA Based web service
-
Hai Thank You The service expecting the XML as post method and i tried with the coding It is working fine thank you for every one
-
i tried with the code i am getting an error The Remote Server returned an error (404) Not Found can any one tell what may be went wrong my code is Dim request As WebRequest = WebRequest.Create("http://156.0.11.27:9080/Update/UpdateServlet?<RequestXml><MachineIp>10.0.0.1</MachineIp><TransactionId>110</ TransactionId ><RequestTime>24/06/2008 12:02:40 PM</RequestTime>(MM/DD/YYYY H:MI:SS)</RequestXml>") request.Method = "POST" Dim postData As String = "This is a test that posts this string to a Web server." Dim byteArray As Byte() = Encoding.UTF8.GetBytes(postData) Dim instance As New WebException Dim value As WebExceptionStatus request.ContentType = "application/x-www-form-urlencoded" request.ContentLength = byteArray.Length Dim dataStream As Stream = request.GetRequestStream() dataStream.Write(byteArray, 0, byteArray.Length) ' Close the Stream object. dataStream.Close() ' Get the response. value = instance.Status Dim response As WebResponse = request.GetResponse() ' Display the status. Console.WriteLine(CType(response, HttpWebResponse).StatusDescription) ' Get the stream containing content returned by the server. dataStream = response.GetResponseStream()