User Profile & Activity

Bernard Xiang Member
Page
of 52
Posted: December 5, 2012 8:32 PM

Hi John,

That issue doesn't appear in my local end using my sample. Could you try my sample in your local end?

Look forward to hear any feedback from you so I can help you further.

Regards,
Bernard

Posted: December 4, 2012 10:30 PM

Hi tjp1,

I've installed Microsoft ASP.NET 2.0 AJAX Extensions to my environment. Unfortunately, I couldn't replicate your issue in our local end. I also attach a sample here. Could you mind to run the sample in your local end or can you provide a simple sample that can replicate this issue in our local end?

Look forward to hear any feedback from you so I can help you further.

Regards,
Bernard

Posted: December 4, 2012 9:56 PM

Hi John,

I've same problem when I'm using HeaderStyle on RootTable and HeaderStyle in LayoutSettings, the break on Customer ID changed into <br /> text. And I also concern if the style inside RootTable cannot be saved when you're saving its layout. So I'm using HeaderStyle inside LayoutSettings in my sample and it can be saved into isl.

Unfortunately, the other issue that you mentioned above cannot be replicate in our local end. Once I load the WebGrid, PreviewRow automatically expand and it doesn't need to FlyPostBack to show the PreviewRow. Actually we're using InitializeRow to modify the row when rendering, so it won't have any effect on column during initializeRow (I also change style for table cell on InitializeRow event, and it's working properly). Also for the 3rd issue, I couldn't replicate it in our local end. When I hide the column and show it using select column context menu. The column will appear, however its position is on the last column.

I also attach the sample here. If possible, could you look in my sample and make changes that sample to show the issue that you mentioned above? I will gladly help you to reolve this issue.

Regards,
Bernard

Posted: December 3, 2012 9:42 PM

Hi John,

Unfortunately, this issue happens in our local end whether I'm use the HeaderStyle in RootTable or in LayoutSettings. To remove the javascript breaks, I'm using validation on my code. Here's the code:

function WebGrid1_OnAfterResponseProcess(controlId, actionName, lastRequestObject, xmlResponseObject)
{
    var WebGrid1 = ISGetObject(controlId);
    if(WebGrid1.RootTable.Columns.GetNamedItem("CustomerID").Visible != false)
        WebGrid1.RootTable.Columns.GetNamedItem("CustomerID").GetElement().children[0].children[0].innerHTML = "Customter<br />ID";
    return true;
}
function WebGrid1_OnInitialize(controlId)
{
    var WebGrid1 = ISGetObject(controlId);
    if(WebGrid1.RootTable.Columns.GetNamedItem("CustomerID").Visible != false)
        WebGrid1.RootTable.Columns.GetNamedItem("CustomerID").Caption = "Customter<br />ID";
    return true;
}

In my sample, I'm using the HeaderStyle on LayoutSettings and the javascript breaks doesn't occurs anymore. Altough we will investigate this further. Could you let me know the differencies between HeaderStyle in LayoutSettings and HeaderStyle in RootTable? Hope this helps.

Regards,
Bernard

Hi Eray,

For this problem, I've made you a sample. In my sample, I'm using WebCombo to select the data that will be appear on WebGrid. I attach the sample in here. Could you look at my sample and tell me if that sample have meet your requirement? Look forward to hear any feedback from you so I can help you further.

Regards,
Bernard

Posted: November 28, 2012 10:38 PM

Hi Stephe Faust,

I can replicate your problem in our local end. Actually, we have an issue with NumericUpDown Custom Editor. And using a simple WebGrid, I can update data to your database. I attach the EditForm.aspx in here. You can try to look for the configuration inside. Hope this helps.

Regards,
Bernard

Posted: November 28, 2012 6:53 AM

Hi Eric,

I couldn't find the images in your source dump. Actually you can find the ID by using developer tools in your browser. Then you can select the image element in the middle of splitter (children of td element) beside the Pane that you want to collapse. In image element there's ID that you can put inside this code

ClientScript.RegisterStartupScript(this.GetType(), "msg", "<script language='javascript'>window.setTimeout(function (){document.getElementById('/*change with image ID*/').click();}, 10);</script>");

Here's the screenshot of your source dump when I run it in IE. Sorry for my lack. Hope this helps.

Regards,
Bernard

Posted: November 27, 2012 9:41 PM

Hi Eric,

Sorry for my lack. I couldn't find the button from your html that you sent to me. To make this button appear first you must set AllowCollapse property inside the pane that you want to collapse. Then when you run the website, you can see the button in the middle of splitter that shown as an image with ID. You can replace the ID in from the code that I mentioned above with the ID of your splitter button. I also attach the screenshot here. Hope this helps.

Regards,
Bernard

Posted: November 26, 2012 9:18 PM

Hi Jean,

I've submit this as feature request #1283. Right now, we only can use the line-presentation like you mentioned before. We still observing the issue that you mentioned in http://intersoftpt.com/Community/WebTextEditor/WebTextEditor---Several-issues/ .

I'll let you know if I heard anything regarding this feature request. Hope this helps.


Regards,
Bernard

Posted: November 22, 2012 1:00 AM

Hi Jean,

Could you explain me more detail scenario that you want to achieve using this scenario? Maybe you can explain about the content that will show in each Tab. I wonder if each tab doesn't show any scrollbar?

Container inside editor only expand because it doesn't have same behaviout as Text area. In use, WebTextEditor will make new HTML form inside its container so it can have many different input inside. Normally, WebTextEditor has its own vertical scrollbar to scroll down the content inside its container. Perhaps, you set overflow value to hidden somewhere in your project. Is it possible for you to use WebTab as TextEditor like in WebPad.aspx? Maybe I'll put this as feature request after I really know the scenario that you want to achieve. Look forward to hear any feedback from you so I can help you further.

Regards,
Bernard

All times are GMT -5. The time now is 9:30 AM.
Previous Next