|
What? You have to recreate Excel? That will take an inordinate amount of time. Perhaps use google docs or microsoft online.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
Yes its almost like recreating the application. But looking for option where we can embed the excel into the application and import the data.
|
|
|
|
|
|
Sujana Alluru wrote: Yes its almost like recreating the application You would be programming all those routines that are now Macro's and formulas.
Sujana Alluru wrote: looking for option where we can embed the excel into the application Ehr, Microsoft has the copyrights to Excel.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
You're not describing a "requirement"; you're describing a solution; and perhaps not the best one.
"Users" don't formulate these types of "requirements"; IT does.
Sounds like you're trying to possibly minimize Excel licensing fees or avoid using Excel altogether. If not, there are better "solutions"; e.g. SharePoint; Excel services; etc.
|
|
|
|
|
Gerry,
It's the requirement. Where an age old traditional excel application to be converted/ redesigned as web application with out changing the look and feel much, as the client is not willing in changing the same old excel interface.
I'm exactly not sure whether this can be done by a grid. and I have big question of retrieving the data, formulas and macros of the excel application as is.
It's urgent and pls help on this.
|
|
|
|
|
The "requirement" seems to be to be able to access Excel workbooks over the internet (and not to eliminate Excel).
As Pete said, you can upload Excel workbooks to SharePoint and share them between users.
You get Excel "look-and-feel" and a "web application".
A "SharePoint Online" subscription starts at less than $5.00 per month where you can do a proof-of-concept. The Excel / Office components may add a few $ per month but you can cancel any time. Note that "external users" with read-only access to your SharePoint site cost nothing.
I'd be surprised if you could not get this up and running in less than a week (and no C# needed. Sorry).
|
|
|
|
|
of course it's some thing like accessing the excel work books over internet, along with some functionality enhancements like logs, database interactions, monitoring the data change as well.
I'm trying this in jquery, using the jquery.sheet plugin. which can be used to create a sheet just like excel. but here the problem is I'm not able to do much changes when the application demands any, as this is a free plugin and not much documentation is provided.
|
|
|
|
|
Ah, now I see. You're representing a "vendor".
|
|
|
|
|
The easiest way to do this is to use Sharepoint, and save your Excel spreadsheet as an Excel Web App[^].
|
|
|
|
|
Thank you all for your suggestions. Let me put this (Share Point) to my manager.
|
|
|
|
|
Another possibility:
1. Keep in the backend "Your Excel Sheet based service". This can be implemented in you web server as a singleton (for perfomance) object that uses Interop for interacting with you Excel sheet.
2. Your web app, queries "Your Excel Sheet based service" to get the grid data to send to the browser
3. The browser displays your data using one of the Javascript grids.
4. The user modifies the data using the Javascript grid editor.
5. Any change is sent as a browser request to your web app (via Ajax or page reload)
6. Your web app, updates "Your Excel Sheet based service", so Excel applies the macros and calculations, and the new values are sent to the web browser on the request response (Ajax or page content)
Conceptually you get everything, and the best of both worlds. The good part is that you do not need to reimplement all your Excel logic (macros, formulas,...), the bad part is that you need to reimplement all the interface to reach this logic (grid cells paradigm, REPL cycle, ...)
Although it can be done, in practice this is far from an ideal solution as:
- An strategy is needed to avoid multiple users locking your Excel resource
- Using interop in the server might lead to memory leaks and stability issues. Also it can easily become a CPU resource hog.
- User interface and usability is greatly dependant on the chosen grid, and might depart greatly from Excel look and feel
Although the cons can easily overweigth the pros, depending on your requirements (number of users, complexity of Excel logic..), budget, resources and available time can be a way to go.
|
|
|
|
|
Hi Jose Segarra,
Thanks for your response and it looks interesting. I started using jQuery.sheet plugin. which is almost doing the same, but facing many challenges to integrate any new change.
thank,
Sujana
|
|
|
|
|
|
I have the following logic where I compare 2 table and shoe the difference if rows exists in both tables. How can I add rows to table3 that only exists in table1 or table2?
Dim tableC = New DataTable()
tableC.Columns.Add(New DataColumn("CurrentYear"))
tableC.Columns.Add(New DataColumn("PreviousYear"))
tableC.Columns.Add(New DataColumn("Status"))
For Each rowA As DataRow In dtBenefitsCurrent.Rows
For Each rowB As DataRow In dtBenefitsPreviousYear.Rows
If rowA("BenefitTypeDesc").ToString() = rowB("BenefitTypeDesc").ToString() AndAlso (rowA("InNet").ToString <> rowB("InNet").ToString ) Then
Dim newRow = tableC.NewRow()
newRow("BenefitTypeID") = rowA("ID")
newRow("BenefitTypeDesc") = rowA("BenefitTypeDesc")
newRow("CurrentYear") = rowA("InNet")
newRow("PreviousYear") = rowB("InNet")
newRow("Status") = "Edited"
tableC.Rows.Add(newRow)
End If
Next
Next
|
|
|
|
|
That should probably be done on the database (server?), using an SQL-statment. There it would be relative easy to manipulate your where-clause.
You're now comparing in-memory datasets. You could still iterate it for each record in table1 and see if it is contained in table2 (look up over the primary key). Also the other way around, see if anything from table2 is contained in table1. Write those to table three.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
I am new at website development, I have taken videos to from to develop website. I am getting error that is following,
------------------------------------------------------------
Directory Listing -- /MyWebTutorial/
--------------------------------------------------------------------------------
Thursday, October 09, 2014 04:59 PM <dir> bin
Thursday, October 09, 2014 04:49 PM <dir> Images
Thursday, October 09, 2014 05:20 PM <dir> JavaScript
Thursday, October 09, 2014 06:51 PM 2,070 MasterPage.Master
Thursday, October 09, 2014 04:18 PM 343 MasterPage.Master.cs
Thursday, October 09, 2014 06:51 PM 782 MasterPage.Master.designer.cs
Thursday, October 09, 2014 06:51 PM 4,968 MyWebTutorial.csproj
Thursday, October 09, 2014 06:51 PM 1,088 MyWebTutorial.csproj.user
Thursday, October 09, 2014 04:15 PM <dir> obj
Thursday, October 09, 2014 04:15 PM <dir> Properties
Thursday, October 09, 2014 04:28 PM <dir> Styles
Thursday, October 09, 2014 05:45 PM 2,014 Web.config
Thursday, October 09, 2014 04:15 PM 1,285 Web.Debug.config
Thursday, October 09, 2014 04:15 PM 1,346 Web.Release.config
--------------------------------------------------------------------------------
Version Information: ASP.NET Development Server 10.0.0.0
|
|
|
|
|
That's not an error, but a directory-listing. It shows all the files in that folder.
Are you sure that ASP.NET is configured correctly on the webserver? And where is your landing page? I do not see a default nor an index-page?
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
Hi,
I have developed a windows application that is used on a bunch of PC's on our network. I distribute it with click-once deployment.
On a couple of PC's certain GUI elements do not display / work as expected. For example, one of the forms contains a DataGridView, that has been set to not allow adding new rows. On one of the PC's mentioned however, the new row is visible, it does allow adding new rows. On another PC a form's title and a label on a StatusBar do not display at all.
Has anyone else ever come across this phenomenon ? Where should I look to fix this ?
Any help appreciated.
Regards,
Johan
My advice is free, and you may get what you paid for.
|
|
|
|
|
Is it "a datagridview" that displays said behaviour, or do all dgvs in the application show the extra row? If there's only one form in your app that's using the dgv, I'd try to write a small app to reproduce the behaviour to confirm it using the minimal code.
If it is "one" control that is misbehaving, then the problem is probably in handling the control, not the control itself. I'd be checking the application for any constructs to swallow exceptions.
Different ways of displaying a control, yes, that I would expect - since there have been multiple versions of the common controls, with flat controls introduced later.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
Hi Eddy,
Eddy Vluggen wrote: ...I'd try to write a small app to reproduce the behaviour to confirm it using the minimal code.
Thanks, I will try that
Eddy Vluggen wrote: If it is "one" control that is misbehaving, then the problem is probably in handling the control, not the control itself. I'd be checking the application for any constructs to swallow exceptions.
I will check this. As the behavior is not happening on other PCs though, could it be possible that one PC (or .net framework) handles events and such in a different manner / order than another ?
Eddy Vluggen wrote: Different ways of displaying a control, yes, that I would expect - since there have been multiple versions of the common controls, with flat controls introduced later.
Again, could that be dependent on the .net framework version ?
Regards,
Johan
My advice is free, and you may get what you paid for.
|
|
|
|
|
Johan Hakkesteegt wrote: could it be possible that one PC (or .net framework) handles events and such in a different manner / order than another ? Highly unlikely, as it would break a lot of applications.
Johan Hakkesteegt wrote: could that be dependent on the .net framework version There's a change in NET 4.5 for resizing[^], but haven't seen anything specific in the other "what's new" articles. Even if there's a manifest saying to use the "new" common controls, I would not expect very different behaviour - a different look, yes, but changing the behaviour breaks existing apps.
There's a list on the versions here[^].
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
How can I enable RadComboBox based on selection using Ajax inside master page?
<asp:Content ContentPlaceHolderID="ContentPlaceholder" runat="server">
<asp:UpdatePanel runat="server">
<ContentTemplate>
<asp:RadioButtonList runat="server" ID="rblStateSchool" RepeatDirection="Horizontal"
AutoPostBack="true">
<asp:ListItem Value="State" Text="State"></asp:ListItem>
<asp:ListItem Value="School" Text="School"></asp:ListItem>
</asp:RadioButtonList>
<asp:RequiredFieldValidator runat="server" ID="rfvStateSchool" ControlToValidate="rblStateSchool"
CssClass="errorMessage" ErrorMessage="* Required"></asp:RequiredFieldValidator>
<telerik:RadComboBox ID="rcbGroups" CheckBoxes="true" AllowCustomText="false" runat="server"
DataValueField="GroupID" DataTextField="GroupName" Enabled="False" EnableViewState="true"
EmptyMessage="<Please Select>" Width="500px" EnableCheckAllItemsCheckBox="true"
AutoPostBack="true">
<ItemTemplate>
<%# DataBinder.Eval(Container.DataItem, "GroupName")%>
-
<%# DataBinder.Eval(Container.DataItem, "GroupID")%>
-
<%# DataBinder.Eval(Container.DataItem, "ContractStateCode")%>
</ItemTemplate>
</telerik:RadComboBox>
|
|
|
|
|
Have you tried the Telerik forum? Compared your code against their demo-project?
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
Because u did enabled=false. Make it true
Sankarsan Parida
|
|
|
|
|