User Profile & Activity

Hans Kristian Member
Page
of 69
Posted: June 25, 2013 11:41 PM

Hello,

You could modify the refresh icon through ImageSettings. Here’s snippet code how to modify the icon:

<LayoutSettings>    <ImageSettings RefreshImage="./image/refresh1.gif" />
</LayoutSettings>

You also could modify the refresh icon tooltip through TextSettings. Here’s snippet code how to modify the icon:

<LayoutSettings>
    <TextSettings>
        <TextItems>
            <ISWebGrid:WebGridTextItem TextItem="Tooltip/Refresh" TextValue="New Refresh" />
        </TextItems>
    </TextSettings>
</LayoutSettings>

You could use this example snippet JavaScript code to add some text beside refresh icon:

function Button1_Click() {
    var tdStat3_WebGrid1 = document.getElementById("tdStat3_WebGrid1");
    var refreshCell = tdStat3_WebGrid1.childNodes[0].cells[0];
    refreshCell.innerHTML += "<span>Refresh Text</span>";
    return true;
}

I attach a simple sample regarding this “Refresh Icon” scenario.
Please kindly have review on the sample and let me know your response.

Regards,
Hans.

Hello,

I have an email to your email (574482765@qq.com).
Please kindly check your inbox or your junk mail.

Thank you.

Regards,
Hans.

Hello,

Could you help me to provide me the step by step how to reproduce your issue on my end?
And it would be better if you could provide me a simple runnable sample that I can use to investigate your issue.

Thank you very much.

Regards,
Hans.

Hello,

Thank you for your reply.

So you have resolved this problem by restarting your IIS?

Regards,
Hans.

Hello,

I apologize for any inconvenience this problem may have caused you.

If you don’t mind, could you please provide more detail about your problem?
Perhaps the step by step guidance how to reproduce your problem on my end?
Or maybe it would be better if you could provide me a simple runnable sample regarding this problem?
So I can help you to resolve this problem.

Thank you for your help.

Regards,
Hans.

Hello,

I apologize for any inconvenience this problem may have caused you.

I have tried to make a WebGrid v7 (and WebInput v4) sample based on one of WebGrid Samples, IntegrationwithWebInput.NET.aspx page, unfortunately it works fine on my end.

Have you try to use the latest assembly version? And could you provide me your current assembly version?

If you don’t mind, could you provide more detail information about your problem?
Perhaps you could provide the step by step guidance how to reproduce your issue or the simple runnable sample that I can use to investigate this problem.

For you information, if this is issue in WebGrid v7 indeed, the fix / hotfix will only available for WebGrid v8, because we have discontinued this WebGrid v7 product.
I am sorry and thank you for understanding.

Regards,
Hans.

Hello,

Did you get the same error message, “Method not found: 'ISNet.WebUI.RenderMode ISNet.WebUI.ISNetControl.get_RenderingMode())”?
If no, could you provide me more detail information about your issue?

Please ensure you are using the latest Intersoft assembly version in your bin folder application.
Please kindly also ensure that all your assembly files (especially Intersoft Framework assembly) in deployment server have same version with assembly files in development environment.

Here’s I provide a few link about deployment phase and licensing:
http://intersoftpt.com/Support/WebUIStudio/Tutorial/Text/Deploy-ASPNET-Application-with-SmartWebResources/
http://intersoftpt.com/Support/WebUIStudio/Tutorial/Text/General-licensing-issue-on-deployment-phase/

Thank you.

Regards,
Hans.

Posted: June 18, 2013 3:22 AM

Hello,

Thank you for waiting.

I set AllowGrouping property to “Yes” and I add a couple line of code in button click event to get the ContactName column value.

Here’s the example snippet code:

object objKeyValue = keyValue as object;TextBox1.Text += WebGrid1.RootTable.GetUngrouppedRows().GetRowByKeyValue(objKeyValue).Cells.GetNamedItem("ContactName").Text + "\n";

Hope this helps. Thank you.

Regards,
Hans.

Posted: June 13, 2013 10:37 PM

Hello,

I have tried to modify one of WebGrid samples, RowCheckerColumn.aspx page.
I set the PersistRowChecker property to “false”. I also modified the validation code in button click server side event.
The result is there is no checked row collection any more after post back process.

I attached two video about what I get on my end.
The first video is the result when I set the PersistRowChecker property to “false” and the second is the result when I set the PersistRowChecker property to “true”.

Please kindly have review on the modified sample as well. To run the sample, just simple add the sample to WebGrid Samples solution.

Please correct me if wrong. Thank you.

Regards,
Hans.

Posted: June 13, 2013 2:17 AM

Hello,

Perhaps you could try to set the PersistRowChecker property to "false". It will automatically clear all checked rows after post back process.

Hope this helps.

Regards,
Hans.

All times are GMT -5. The time now is 7:42 PM.
Previous Next