Skip to content

Commit 6272af0

Browse files
committed
Fix GetControlProps
1 parent 5ddb25d commit 6272af0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dotnet/src/dotnetframework/GxClasses/Core/Web/HttpAjaxContext.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,8 @@ private JObject GetControlProps(JObject obj, String Control)
373373
JObject ctrlProps = null;
374374
try
375375
{
376-
if (!obj.Contains(Control))
376+
ctrlProps = obj[Control] as JObject;
377+
if (ctrlProps == null)
377378
{
378379
ctrlProps = new JObject();
379380
obj.Put(Control, ctrlProps);

0 commit comments

Comments
 (0)