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,
The problem has nothing to do with wiring up the event.
The code you initially provided in the other thread used a OPTGROUP and does not work with this code.The code you just provided in the other thread uses a OPTION and does work with this code.If you re-test this code with the OPTGROUP code you will find it does not work.
Doug
The example you gave creates an OPTGROUP element.
It does not add and OPTION to the top of the OPTION List like my Server Side Code does for RefurbPriority_DropDownList.With your code, I am not able to set the Selected Index using your workaround for IE you gave me in
http://www.intersoftpt.com/Community/WebGrid/DropDownList-Default-Value-Not-Selected-in-Edit-Mode-when-using-IE/
How do I add an OPTION to the top of the OPTION List like my Server Side Code does for RefurbPriority_DropDownList?
Apparently, you have sent me down a dead end from the beginning.
You said to use a Template.
My code example in my intial posting 3 days ago had the following properties:
- LayoutSettings.AllowBatchUpdate="true"
- LayoutSettings.BatchUpdateSettings.AllowReviewChanges="true"
Now I understand you don't know how to make LayoutSettings.BatchUpdateSettings.AllowReviewChanges="true" work with Templates because it is kind of hard.
What do the developers say?
So, I try to forge ahead without the AllowReviewChanges and now AllowBatchUpdate is not working.
In the Server Side BatchUpdate Event
- there are e.PendingChanges
- WebRowChanges.RowState is Modified
But
- WebRowChanges.Data is null
What am I to do?
On top of that, the WebGrid Styles do not cascade to the DropDownList, even in your examples. I have not figured out what the WebGrid Styles are so I can apply them to the DropDownList.
You said "Because cell template is only attached on the WebGrid and not attached to a physical database.".
So, how do we attach the template to the physical database?
It is still not working completely.
As for the pending changes issue, when using the "Reviewing Pending Changes" Feature, all that is displayed in the Changes Column is "}". As a result, the changes can not be undone.
As in my example, when the ColumnType is not a Template and the EditType is DropdownList, the Changes Column displays something like "{Priority_WebGridColumn=ASSESS -3}". Plus, the changes can be undone.
What is still missing?
Is there a better way to do all this?
- Register the Control with the BatchUpdate, AllowReviewChanges Features so we don't have to try to emulate it.
- Another approach to setting the Row into Edit Mode
Thanks,
Hi,Does this effectively do the same thing?
<ISWebGrid:WebGridColumn Name="PriorityCellTemplate_WebGridColumn" Bound="False" Caption="PRIORITY" ColumnType="Template" Width="100px" > <CellTemplate> <asp:DropDownList ID="RefurbPriority_DropDownList" runat="server" SelectedValue='<%# Bind("REFURB_PRIORITY") %>' > <asp:ListItem Text="ASSESS - 1" Value="1" /> <asp:ListItem Text="ASSESS - 2" Value="2" /> <asp:ListItem Text="ASSESS - 3" Value="3" /> <asp:ListItem Text="DISPOSE" Value="D" /> <asp:ListItem Text="UNDECIDED" Value="" Selected="True" /> </ASP:DropDownList> </CellTemplate> </ISWebGrid:WebGridColumn>
If so, and as with your example when the following is added, LayoutSettings.AllowBatchUpdate and BatchUpdateSettings.AllowReviewChanges does not recognize changes to the Controls in the Template.
What needs to be added?
How do I submit a Feature Request with this interface since I can no longer do it in the Developer Network?
I would like a Server Control Property to handle this rather than the Client Side OnFocus Event workaround.
Is there anything I can set on the Server Control or in Server Side Code?
My Testing showed that DynamicEditFormat is checked in DynamicMaskValidator.js.DynamicMaskValidatorEvaluateIsValid(). It also showed it should not be called. Hence, it does matter that it is null.
More importantly is, why is DynamicMaskValidator.js.DynamicMaskValidatorEvaluateIsValid() being called?
Then, am I correctly assuming:
- QUESTION 8: The ControlID Separator of Dollar Sign is what is causing CoreValidator.js.EscapeRegExpSpecialChar() not be called?
- QUESTION 9: ISNet.WebUI.WebInput.dll creates the ControlID and Version 216 does not use a Dollar Sign Separator, it uses an Underscore?
Additionally:
- QUESTION 10: What Version did ISNet.WebUI.WebInput.dll start using a Dollar Sign Separator?
- QUESTION 11: Could you replicate the problem using the Version of ISNet.WebUI.WebInput.dll that uses a Dollar Sign Separator?
I have spent over 3 hours with Yudi and at least as many on my own verifying version numbers and re-referencing WebInput. Maybe it is a different assembly.
NOTE: Would you please refer to the Question Number when responding. It is difficult to determine if you are answering my Questions.
Hi Glenn,
You did not answer all the questions.
1. Where does DynamicEditFormat come from?
- Do I need to manually assign something via a control property?
--- If so, even the Wizard does not do this.
- Is this created automatically?
--- If so where? Maybe that is where the problem is
----- What if MaskInfo is not specified in the Control
2. What is v74f99?
I know it is obfuscated. It is simple, don't search obfuscated code, not the source.
Just look search the source code, DynamicMaskValidator.js, for "DynamicEditFormat.IsValidateOnChange". That will narrow down where the code occurs.
Then look for creates of DynamicEditFormat in all all the source. Don't tell me no one there has a clue.
Or, give me the Source and I will do it.
3. What inhibits the user from typing alpha characters?
--- Is this an event or behavior?
4. What is ClientBehaviour.js for?
--- I see it in the IIS log but it is like it is not hooked up to the controls, hence that is why things are not formated as I type?
NEW QUESTION:
5. What code replaces the alpha characters while typing?
6. What code formats the input to currency?
7. Once you find 5. & 6., what code hooks up these events?
--- This way we can concentrate on why it is not doing it's job.
As for a Simple Project, it will not be simple
-- You have to setup up Forms & Authentication to start with.
-- It will takes me days to provide you with a Simple Project.
So while you wait for me, please answer my questions.
This problem can also be solved by working it forward with the clues we have and without waiting for it to be worked backwards with a very time consuming Scaled Down, not Simple, Project.
There appears to be a conflict with something in my Project since you have verified all assemblies are in place.
I have verified All the required dlls have the correct versions.
The following are run from the GAC and have an assembly reference in the web.config just like the WebInputSamples. Meaning, if they were the problem, the Samples would have the same problem.
- ISNet.WebUI.dll- ISNet.dll
Since I can run WebGrid and WebCombo, if there was a problem with the framework being out of sync, they would probably be having the same problem.
I am guessing the the URL for the .js, in the error details, 307200216 indicates the version.
The code that errors "if (v74f99.DynamicEditFormat.MaskInfo)" , the 3rd line below:
if (v74f99) { if (v74f99.DynamicEditFormat.MaskInfo) { if (!v74f99.DynamicEditFormat.IsValidateOnChange) return true; } else return false; }
v74f99.DynamicEditFormat is undefined. It did not even check before trying to access the MaskInfo Propery.
All the .js in \Program Files\Intersoft Solutions\WebUI Studio\CommonLibrary\WebInput\V3_0_7200 have a timestamp of 10/22/2009 and an interanl header 10/23/2009.
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