iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
Hi,
After few tests i found that this javascript error comes only in IE. On FireFox its works fine.
On Google Chrome i don't get anythin render onto the Page(don't know why).
The error that comes up is this "Member not found":
function anonymous(){//At this line i am getting 'Member not found' errorevent=event||window.event;}
I don't know why is it so. Even after this javascript error everything works good but i don't even want this error. As i dont wanna leave any errors onto the form, as you never know what may be become a bigger problem
How to use CommonLibarary instead of SmartWebResources and what is the difference. I am using your latest controls.
Thanks,
Huzefa
Thanx for the reply.
I am attaching a sample where in i have used your way of making the control and then used the control onto the page.
But this still throws the same javascript error.
Thank you
Sorry but this is not what i was looking for..
I mean i want to replace your WebGridColumn by deriving WebGridColumn into my CustomClass.
Then i add this Custom Class to Web Grid..
An example shown below
public class CustomColumn : WebGridColumn{}//Then in Page i will use like....protected void WebGrid1_PrepareDataBinding(object sender, ISNet.WebUI.WebGrid.DataSourceEventArgs e) { CustomColumn newColumn = new CustomColumn ("NewColumn", "New Column"); newColumn.Width = new System.Web.UI.WebControls.Unit(200, UnitType.Pixel); newColumn.Position = 1; newColumn.ColumnType = ColumnType.Textbox; WebGrid1.RootTable.Columns.Add(newColumn); }
When i do this, it does not give me any compile time error but when the control is rendered then it gets errored out.
How can i create my own GridColumn deriving from WebGridColumn?
Thanks for your reply,
I am not getting one thing, Why have you treated 'NumericInput' as a Template.
Can't i just derive this 'NumericInput' class from WebInput and override my settings on events like OnInit and OnLoad?
I want my base to be Web Input only just few default setting i wan't to set in this numricInput class. So that my fellow developers don't have to understand this settings and are released from the burden of writing it again and again when ever they want to use this control.
The user who drags and drops this NumericInput control on to the form should get all the events and properties of WebInput control too.
Regarding the missing WebCombo text, in such scenario you will need to fill the virtual column (in this case FullName) as you set the value to the WebCombo. The InitializeRow server side event will be invoked when you show the WebCombo dropdown, in your scenario the InitializeRow will not be triggered.
Can you please provide a sample or a proper code to illustrate how would i do this thing?
I am just getting a DataTable consisting of 1 row which is filetered on the Value in DTO object, and attaching this DataTable to WebCombo. I even add an extra column in DataTable for FullName and give its Value but nothing is shown on client side and TextBox of WebCombo remains empty.
In order to allow the instant lookup feature to work you will need to use AdditionalSearchField property in order to allow WebCOmbo to search in the FirstName and LastName field, for example.
How to set Multiple AdditionalSearchFields?
I have set the FirstName as AdditionalSearchField but when i type in a Name and press Tab, then the Filtered record is just 1 record but it doesn't get set, instead the DropDown result box opens up and i have to explicitly select a record.
What i want is after user Press Tab key and after filter if the number of records returned is just 1 then automatically set the Value and Text of that record. How can i achieve this?
On the server side, you will need to set the Value property in order to set the default choice in WebCombo, as detailed on the article How-to: Set initial value from server side in WebCombo in the WebCombo documentation.
I am not using any DataSource control instead i am Binding Data on InitializeDataSource Method.
I am checking if Action!="LoadData" and Value is set to something and Text is empty, then go to database filter the record on Value and get 1 record. After getting this one record i attach it to DataSource property of WebCombo. The Issue is i am adding a temporary column as you suggested and setting its text and value on InitializeRow event, but this event doesn't get called at all. And the text is not set. The WebCombo TextBox comes with empty text. Am i missing somehting?
Basically i want a LoadOnDemand functionality but i don't wanna use ISDataSource control or ObjectDataSource Control. Instead i manually call database and get a DataTable and bind this DataTable to DataSource of webCombo.
What would be the best approach for this?
Hi Glenn,
Thanks for this solutions, it worked like a charm.
Few questions i want to ask you,
1) I want this combo to have Instant Lookup functionality as provided in your samples. But after i apply your above solution the instant lookup thing doesn't work. Can you provide a solution to get it proper on some real column.
2) How can i have more than 1 AdditionalFilterColumn in combo?
3) How can i have paging in combo instead of More button?
4) I want something like filter bar on top of each column so that after the dropdown is open user can filter on any additional column he wishes to. Can i do this in WebCombo? I need it please provide a way.
5) Once the user have selected a value and have posted the selection to server. Now i want to display the user his choice back. I have the user selected Id field value and want to set its Text to webCombo how can i do this? As Text property of WebCombo doesn't have a Setter. How can i achieve this?
If i have 50,000 rows and i dyanmically loop through datasource and add an extra column then it would be a big performance bottleneck.
Can't i just add temporray column to those records which are currently shown to user.
Like for first 15 rows i create a temporary column and display to user, then when user clicks for more then i create a temporray record for remaining 15 rows and so on...
Please suggest me a proper way if the number of records are more than 50,000.
Thanks Glenn
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname