# RadzenLink open new tab with data IP

**URL:** <https://forum.radzen.com/t/radzenlink-open-new-tab-with-data-ip/5962>\
**Category:** Blazor Server\
**Created:** [December 8, 2020, 9:31pm UTC](https://forum.radzen.com/t/radzenlink-open-new-tab-with-data-ip/5962 "2020-12-08T21:31:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kim](https://forum.radzen.com/user_avatar/forum.radzen.com/kim/32/9988_2.png) [@kim](https://forum.radzen.com/u/kim)\
**Post date:** [December 8, 2020, 9:31pm UTC](https://forum.radzen.com/t/radzenlink-open-new-tab-with-data-ip/5962/1 "2020-12-08T21:31:24Z")

</div>

Hello Radzen Team!

I'm trying to open a new tab using the Link component and a row data IP. Here's how it looks:

 ![image](https://forum.radzen.com/uploads/default/original/2X/5/5e8680beb662d08486a6f26aa27e1c0593af79df.png)

Now because of the problems mentioned in my [other thread](https://forum.radzen.com/t/radzenmask-problems-when-writing-an-ip-address/5960), I receive this error when loading the page:

 ![image](https://forum.radzen.com/uploads/default/original/2X/6/6ab02aeb7fe9718856981c2091e37a23de5b4564.png)

Seems that it's a parsing error because the IP contain spaces, invalid characters. Then I try to do this:

 ![image](https://forum.radzen.com/uploads/default/original/2X/c/cc5b70cda2de87c2eccf3d3f6f342c6ee913de0c.png)

Unfortunately current formatting messes the method up:

```auto
Path="@($"http:// + {globalModelsController.ip.Replace{" ",""}}")"
```

Many problems, but I think everything can be solved with some sort of tweak in the mask component.

---

<div class="post-metadata">

**Author:** ![enchev](https://forum.radzen.com/user_avatar/forum.radzen.com/enchev/32/16_2.png) [@enchev](https://forum.radzen.com/u/enchev)\
**Post date:** [December 9, 2020, 6:52am UTC](https://forum.radzen.com/t/radzenlink-open-new-tab-with-data-ip/5962/2 "2020-12-09T06:52:08Z")

</div>

Hi @kim,

Maybe instead replace of whitespace you can use Trim().  
UPDATE: Yep, the generated code is not valid. We will do our best to provide fix with our release later today.

---

<div class="post-metadata">

**Author:** ![kim](https://forum.radzen.com/user_avatar/forum.radzen.com/kim/32/9988_2.png) [@kim](https://forum.radzen.com/u/kim)\
**Post date:** [December 9, 2020, 11:11am UTC](https://forum.radzen.com/t/radzenlink-open-new-tab-with-data-ip/5962/3 "2020-12-09T11:11:29Z")

</div>

Trim() won't do any good here, as it only removes leading and trailing occurrences of characters.

I'll wait for the release, thanks a lot!

UPDATE: however, from the other thread by doing what you suggested, this problem also went away after I changed the Path to:

```auto
Path="@($"http://{globalModelsController.ip}")"
```

My error there was the plus sign between the protocol and the address.
