This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
1
Web Server - Ask For Help / Progress Indicator in Excel Export
« on: October 23, 2024, 09:06:04 PM »
Hi,
How do I enable progress indicator in Excel export on a NetWebBrowse?
Thanks
How do I enable progress indicator in Excel export on a NetWebBrowse?
Thanks
2
Web Server - Ask For Help / Crystal Reports viewer
« on: July 11, 2024, 07:04:00 AM »
Hi,
Has anyone implemented Crystal Reports viewer in a Nettalk webapp? Asking before I go down the rabbit hole.
Thanks for any insights.
Regards,
Ubaidullah Nubar.
Has anyone implemented Crystal Reports viewer in a Nettalk webapp? Asking before I go down the rabbit hole.
Thanks for any insights.
Regards,
Ubaidullah Nubar.
3
Web Server - Ask For Help / Redactor options
« on: January 22, 2024, 02:17:05 PM »
Hi Bruce,
Where can I find the valid options available to be set for Redactor?
When I put this in the embed before RedactorInit, I am getting a GPF:
loc:options = 'autoresize: false'
Regards,
Ubaidullah Nubar.
Where can I find the valid options available to be set for Redactor?
When I put this in the embed before RedactorInit, I am getting a GPF:
loc:options = 'autoresize: false'
Regards,
Ubaidullah Nubar.
4
Web Server - Ask For Help / Re: HTML text not displaying in view form
« on: January 22, 2024, 06:03:26 AM »
Thanks. That was it.
There were <bold> tags that are considered unsafe.
So, what is the recommended way to display text that is entered via the editors? Is it possible to display the editor in read-only mode?
The use case is that some users can edit descriptions with formatting using the editor. Other users should be able to only view the formatted text. This is obviously user-generated content so I wouldn't want to allow unsafe HTML as you recommend but at the same time need to allow users to view the text correctly.
Regards,
Ubaidullah Nubar.
There were <bold> tags that are considered unsafe.
So, what is the recommended way to display text that is entered via the editors? Is it possible to display the editor in read-only mode?
The use case is that some users can edit descriptions with formatting using the editor. Other users should be able to only view the formatted text. This is obviously user-generated content so I wouldn't want to allow unsafe HTML as you recommend but at the same time need to allow users to view the text correctly.
Regards,
Ubaidullah Nubar.
5
Web Server - Ask For Help / HTML text not displaying in view form
« on: January 20, 2024, 11:44:27 AM »
Hi,
I have a Text field on a NetWebForm. I have the Redactor HTML editor enabled and it edits it correctly. I can also view the formatting when in edit mode.
But when the NetWebForm is called in View mode, the Text field displays the HTML tags instead of displaying it with the HTML formatting. The field is set as "Allow xHTML".
What should I do for the HTML formatting to display correctly in view mode?
Thanks
&
Regards,
Ubaidullah Nubar.
I have a Text field on a NetWebForm. I have the Redactor HTML editor enabled and it edits it correctly. I can also view the formatting when in edit mode.
But when the NetWebForm is called in View mode, the Text field displays the HTML tags instead of displaying it with the HTML formatting. The field is set as "Allow xHTML".
What should I do for the HTML formatting to display correctly in view mode?
Thanks
&
Regards,
Ubaidullah Nubar.
6
Web Server - Ask For Help / Re: Which editor to use for simple formatting
« on: January 04, 2024, 12:34:20 AM »
Bruce, thanks for the reply.
Are there any plans to update redactor to redactor X or CKEditor to version 5?
TinyMCE seems to be v4 while the latest is v6.
The nice thing about redactor is that I can paste an image into the editor. But it replaces any other image pasted earlier as the image gets written to web\uploads as image.png and each paste overwrites the previous one.
Are there any plans to update redactor to redactor X or CKEditor to version 5?
TinyMCE seems to be v4 while the latest is v6.
The nice thing about redactor is that I can paste an image into the editor. But it replaces any other image pasted earlier as the image gets written to web\uploads as image.png and each paste overwrites the previous one.
7
Web Server - Ask For Help / Which editor to use for simple formatting
« on: January 03, 2024, 08:39:14 AM »
Hi,
I want to provide an input box where the user can write text and do basic markup like bold, color, etc.
I don't want to overwhelm the user with too many options.
I also want to be able to programmatically insert text in specific places so need to be able to handle the markup.
Which of the available editors (TinyMCE/Redactor/CKEdit/ACE) would be suitable for this task?
Thanks
&
Regards,
Ubaidullah Nubar.
I want to provide an input box where the user can write text and do basic markup like bold, color, etc.
I don't want to overwhelm the user with too many options.
I also want to be able to programmatically insert text in specific places so need to be able to handle the markup.
Which of the available editors (TinyMCE/Redactor/CKEdit/ACE) would be suitable for this task?
Thanks
&
Regards,
Ubaidullah Nubar.
8
Web Server - Ask For Help / Re: Vertical spacing between fields
« on: November 27, 2023, 03:35:48 AM »
I am looking for the right place for the css.
Where do I place the css to do it globally?
Any pointers will be helpful.
Thanks
&
Regards,
Ubaidullah Nubar.
Where do I place the css to do it globally?
Any pointers will be helpful.
Thanks
&
Regards,
Ubaidullah Nubar.
9
Web Server - Ask For Help / Vertical spacing between fields
« on: November 24, 2023, 09:24:13 PM »
Hi,
How do I change the vertical spacing between fields on a form for all fields?
Regards,
Ubaidullah Nubar.
How do I change the vertical spacing between fields on a form for all fields?
Regards,
Ubaidullah Nubar.
10
Web Server - Ask For Help / Number Picture in NetWebForm
« on: November 24, 2023, 04:31:18 AM »
Hi,
I have a number field in a NetWebForm. I want it to display a value of 2000 as 2,000.00 (commas and decimal).
In a browse it is easy to set the picture to @n10.2 but how do I do it in a form?
Regards,
Ubaidullah Nubar.
I have a number field in a NetWebForm. I want it to display a value of 2000 as 2,000.00 (commas and decimal).
In a browse it is easy to set the picture to @n10.2 but how do I do it in a form?
Regards,
Ubaidullah Nubar.
11
Web Server - Ask For Help / Re: Description field in Lookup Settings
« on: November 16, 2023, 08:22:14 AM »
Figured this out. It uses any string field that has a unique key defined as the description field. Else, it will use the second field.
12
Web Server - Ask For Help / Description field in Lookup Settings
« on: November 16, 2023, 01:56:26 AM »
Hi,
When generating a NetWebForm using the wizard, the Lookup Settings tab for a fields gets populated when there is a relation defined.
Question: what determines which field is picked for the Description field? Is there a way to set this in the dictionary? It seems, it uses the second field in the table. Wondering if there was a way to define this at the dictionary level.
Regards,
Ubaidullah Nubar.
When generating a NetWebForm using the wizard, the Lookup Settings tab for a fields gets populated when there is a relation defined.
Question: what determines which field is picked for the Description field? Is there a way to set this in the dictionary? It seems, it uses the second field in the table. Wondering if there was a way to define this at the dictionary level.
Regards,
Ubaidullah Nubar.
13
Web Server - Ask For Help / Must be in table validation and NetWebForm
« on: November 14, 2023, 03:43:06 PM »
Hi,
When a field has validation set in the dictionary to "Must be in Table", the NetWebForm will display a message with the table name.
Is there a way to display the table description instead of the name?
So, instead of the user seeing this message:
Department: Must be in table DPT001
the message shows up like this:
Department: Must be in table Departments
where Departments is the description of the table DPT001.
This is an external system so I don't have control of the tables names.
One option I am thinking is to change the table label to a descriptive one and use the path name for the actual table name.
Regards,
Ubaidullah Nubar.
When a field has validation set in the dictionary to "Must be in Table", the NetWebForm will display a message with the table name.
Is there a way to display the table description instead of the name?
So, instead of the user seeing this message:
Department: Must be in table DPT001
the message shows up like this:
Department: Must be in table Departments
where Departments is the description of the table DPT001.
This is an external system so I don't have control of the tables names.
One option I am thinking is to change the table label to a descriptive one and use the path name for the actual table name.
Regards,
Ubaidullah Nubar.
14
Web Server - Ask For Help / Re: Generate GUID in SQL - Part 2
« on: October 03, 2023, 10:19:24 PM »
Bruce,
Thanks for your detailed answer.
It's not that developers are unable to create a random string. I geeked out a bit on this and found that this is a real issue. Which is why I was attempting to generate the GUID on the server side.
https://web.archive.org/web/20190121220947/http://devoluk.com/google-chrome-math-random-issue.html
https://github.com/ramsey/uuid/issues/80
Also, some SQL docs consider UUIDs as a sub type of strings. But I understand what you are saying that it is really a 128 bit number represented as a hex string.
Anyway, I will go with your advise and leave the GUID generation on the client side. The field is going to be a primary key after all so I can recommend them to test for failure on insert.
Regards,
Ubaidullah Nubar.
Thanks for your detailed answer.
It's not that developers are unable to create a random string. I geeked out a bit on this and found that this is a real issue. Which is why I was attempting to generate the GUID on the server side.
https://web.archive.org/web/20190121220947/http://devoluk.com/google-chrome-math-random-issue.html
https://github.com/ramsey/uuid/issues/80
Also, some SQL docs consider UUIDs as a sub type of strings. But I understand what you are saying that it is really a 128 bit number represented as a hex string.
Anyway, I will go with your advise and leave the GUID generation on the client side. The field is going to be a primary key after all so I can recommend them to test for failure on insert.
Regards,
Ubaidullah Nubar.
15
Web Server - Ask For Help / Re: Generate GUID in SQL - Part 2
« on: September 28, 2023, 09:35:52 AM »
I was thinking of issues that can arise if the other developers don't generate the GUID correctly.
Most examples online (How to create a GUID / UUID in JavaScript ?) suggest making GUID of length 32 such as ?550e8400-e29b-11d4-a716-446655440000?.
Can StringTheory's MakeGuid generate 32 bit GUIDs to keep it consistent?
Regards,
Ubaidullah Nubar.
Most examples online (How to create a GUID / UUID in JavaScript ?) suggest making GUID of length 32 such as ?550e8400-e29b-11d4-a716-446655440000?.
Can StringTheory's MakeGuid generate 32 bit GUIDs to keep it consistent?
Regards,
Ubaidullah Nubar.